The Mono Disassembler

Monos disassembler is written in C.

The monodis program is used to dump the contents a CIL
image (contained in .EXE files that contain extended
PE/COFF CIL code).

I. Simple use

It can you can execute it by typing:

monodis <myfile.exe>

II. Options

The following Generic options are supported:

--help , -h

Displays usage instructions.

--output=FILENAME

Write output into FILENAME.

--mscorlib

For non-corlib assemblies, use "mscorlib" as the assembly name. This is useful for round-tripping the IL with ilasm.

--assembly

Dumps the contents of the assembly table

--assemblyref

Dumps the contents of the assemblyref table

--classlayout

Dumps the contents of the classlayout table

--constant

Dumps the contents of the constant table

--event

Dumps the contents of the event table

--exported

Dumps the contents of the ExportedTypes table

--fields

Dumps the contents of the fields table

--file

Dumps the contents of the file table

--interface

Dumps the contents of the interface table

--manifest

Dumps the contents of the manifest table.

--memberref

Dumps the contents of the memberref table

--method

Dumps the contents of the method table

--methodsem

Dumps the contents of the methodsem table

--module

Dumps the contents of the module table

--moduleref

Dumps the contents of the moduleref table

--param

Dumps the contents of the param table

--property

Dumps the contents of the property table

--propertymap

Dumps the contents of the propertymap table

--typedef

Dumps the contents of the typedef table

--typeref

Dumps the contents of the typeref table If no flags are specified the program dumps the content of the image in a format that can be used to rountrip the code.

A. Credits

Author: Johannes Roith (johannes@jroith.de)