0

While there are many examples of how to use ILDASM, I have yet to find any information as to how ILDASM populates its data. Can anyone please help shed some light on this for me?

Edit: I should mention that I am interested in doing this from C++.

Brian Davis
  • 229
  • 1
  • 12

1 Answers1

0

It uses the common .NET runtime support interfaces to read data from assemblies, IMetaDataAssemblyImport for example.

Best way to get insight is to look at its source code. Which is available in the SSCLI20 distribution. After you installed it, navigate to the clr/src/ildasm subdirectory and have a look-see.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • If interested, I had an issue where Microsoft's "Thank you for downloading" page basically hung. The "Click here" button is also broken. To actually download this distribution, expand the "Install Instructions" and choose the "Download" link there. Incidentally, I appreciate the link to this download as I was unaware the source code for ILDASM was available. – Brian Davis Nov 22 '13 at 16:02