DekGenius.com
[ Team LiB ] Previous Section Next Section

D.4 MSIL Disassembler (ildasm.exe)

This tool extracts the MSIL code from a PE file targeted for .NET Framework. The general syntax for this tool is:

Ildasm [options] PEFilename

Table D-4 shows some of the common uses of the disassembler.

Table D-4. Disassembler common uses

Option

Description

/linenum

This includes references to original source lines.

/output=filename

The output goes to a file instead of in a GUI dialog box.

/source

This shows original source lines as comments.

/text

The output goes in a console window.

/tokens

This shows metadata tokens of classes and members.

    [ Team LiB ] Previous Section Next Section