You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementing the above symbols would be a fair step for supporting .NET binaries (at least those built with standard Visual Studio Build Tools).
I'd gladly contribute these though I'm not familiar with the inner PDB format, I assume it's just taken off Microsoft/microsoft-pdb. If there's any other source of guidance on the used format I would appreciate that a lot.
The text was updated successfully, but these errors were encountered:
I submitted #146 with .NET-specific symbol reading, S_OEM is missing proper buffer reading but other than that i think the changes are ready. The changes are testable with pdb_symbols.rs example (i only included managed procedures and slots aka methods and their local variables), i'd appreciate a review/merge.
I tested on PDBs targeting .NET Framework 4.8, attempts to parse .NET 6 symbols resulted in error dumping PDB: UnrecognizedFileFormat. Below you can see an example output with the source code of a corresponding C# method.
Out of curiosity I tried using
pdb_symbols
example to parse a custom-made C# dll, sadly nothing but module addresses could be parsed.For my example the following symbol kinds appeared as not implemented:
0x404
(OEM)0x1120
(MANSLOT)0x1129
(TOKENREF)0x112a
(GMANPROC)Implementing the above symbols would be a fair step for supporting .NET binaries (at least those built with standard Visual Studio Build Tools).
I'd gladly contribute these though I'm not familiar with the inner PDB format, I assume it's just taken off Microsoft/microsoft-pdb. If there's any other source of guidance on the used format I would appreciate that a lot.
The text was updated successfully, but these errors were encountered: