public void TestSymbolDecoding()
        {
            // Test symbol decoding..
            TracePdbReader reader = new TracePdbReader(null);

            foreach (KeyValuePair <string, PDBInfo> pdbInfo in symbolFiles)
            {
                TracePdbModuleReader moduleReader = reader.LoadSymbolsForModule(pdbInfo.Value.pdbFullPath,
                                                                                (Address)pdbInfo.Value.pdbImageBase);
                Address outAddr;
                string  symbol = moduleReader.FindMethodForAddress((Address)0x10000000, out outAddr);
                if (!String.IsNullOrEmpty(symbol))
                {
                    Console.WriteLine(symbol);
                }
            }
        }
示例#2
0
 public void TestSymbolDecoding()
 {
     // Test symbol decoding..
     TracePdbReader reader = new TracePdbReader(null);
     foreach (KeyValuePair<string, PDBInfo> pdbInfo in symbolFiles)
     {
         TracePdbModuleReader moduleReader = reader.LoadSymbolsForModule(pdbInfo.Value.pdbFullPath,
                                                                     (Address)pdbInfo.Value.pdbImageBase);
         Address outAddr;
         string symbol = moduleReader.FindMethodForAddress((Address)0x10000000, out outAddr);
         if (!String.IsNullOrEmpty(symbol))
             Console.WriteLine(symbol);
     }
 }