.\" .\" monodis manual page. .\" (C) Ximian, Inc. .\" Author: .\" Miguel de Icaza (miguel@gnu.org) .\" .TH Mono "Mono 1.0" .SH NAME monodis \- CIL image content dumper and disassembler. .SH SYNOPSIS .PP .B monodis [\-h] [\-\-help] [\-\-output=FILENAME] [\-\-mscorlib] [\-\-assembly] [\-\-assemblyref] [\-\-classlayout] [\-\-constant] [\-\-event] [\-\-exported] [\-\-fields] [\-\-file] [\-\-genericpar] [\-\-interface] [\-\-manifest] [\-\-memberref] [\-\-method] [\-\-methodsem] [\-\-module] [\-\-moduleref] [\-\-param] [\-\-parconst] [\-\-property] [\-\-propertymap] [\-\-typedef] [\-\-typeref] [\-\-blob] [FILES...] .SH DESCRIPTION The \fImonodis\fP program is used to dump the contents a CIL image (contained in .EXE files that contain extended PE/COFF CIL code). .SH OPTIONS The following Generic options are supported: .TP .I "--help", "-h" Displays usage instructions. .TP .I "--output=FILENAME" Write output into \fIFILENAME\fP. .TP .I "--mscorlib" For non-corlib assemblies, use "mscorlib" as the assembly name. This is useful for round-tripping the IL with ilasm. .TP .I "--show-method-tokens" Display tokens for dissasembled methods .TP .I "--assembly" Dumps the contents of the assembly table .TP .I "--assemblyref" Dumps the contents of the assemblyref table .TP .I "--classlayout" Dumps the contents of the classlayout table .TP .I "--constant" Dumps the contents of the constant table .TP .I "--event" Dumps the contents of the event table .TP .I "--exported" Dumps the contents of the ExportedTypes table .TP .I "--fields" Dumps the contents of the fields table .TP .I "--file" Dumps the contents of the file table .TP .I "--genericpar" Dumps the contents of the generic parameter table. .I "--interface" Dumps the contents of the interface table .TP .I "--manifest" Dumps the contents of the manifest table. .TP .I "--memberref" Dumps the contents of the memberref table .TP .I "--method" Dumps the contents of the method table .TP .I "--methodspec" Dumps the contents of the method spec table. .TP .I "--methodsem" Dumps the contents of the methodsem table .TP .I "--module" Dumps the contents of the module table .TP .I "--moduleref" Dumps the contents of the moduleref table .TP .I "--param" Dumps the contents of the param table .TP .I "--parconst" Dumps the contents of the gemeric parameter constraint table .TP .I "--property" Dumps the contents of the property table .TP .I "--propertymap" Dumps the contents of the propertymap table .TP .I "--typedef" Dumps the contents of the typedef table .TP .I "--typespec" Dumps the contents of the typespec table .TP .I "--typeref" Dumps the contents of the typeref table .TP .I "--blob" Dumps the entire contents of the blob stream as hex .PP If no flags are specified the program dumps the content of the image in a format that can be used to rountrip the code. .PP .SH ENVIRONMENT VARIABLES .TP .I "MONO_PATH" Provides a search path to mono and mint where to look for library files. Directories are separated by the platform path separator (colons on unix). Example: .B /home/username/lib:/usr/local/mono/lib .PP .SH AUTHOR monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer. .SH SEE ALSO .BR pedump(1)