Beispiel #1
0
        private static void PrintFoldedStack(AggregatedStack stack)
        {
            int pid = stack.ProcessID;

            Console.Write($"{_resolver.ProcessName(pid)} ({pid})");
            foreach (var symbol in _resolver.Resolve(pid, stack.Addresses).Reverse())
            {
                Console.Write(";" + symbol.ToString());
            }
            Console.WriteLine(" " + stack.Count);
        }
Beispiel #2
0
        private static void PrintNormalStack(AggregatedStack stack)
        {
            int pid = stack.ProcessID;

            Console.WriteLine($"  {stack.Count,10} [{_resolver.ProcessName(pid)} {pid}]");
            foreach (var symbol in _resolver.Resolve(pid, stack.Addresses))
            {
                Console.WriteLine("    " + symbol.ToString());
            }
            Console.WriteLine();
        }