Sat Feb 19 15:19:46 CET 2005 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / dis / monodis.1
index 3ee8e160cdba25be59e487810069048e8bbadaac..fe7c8647aeb7e744de38ff25e5d7b18663f80132 100644 (file)
@@ -10,10 +10,32 @@ monodis \- CIL image content dumper and disassembler.
 .SH SYNOPSIS
 .PP
 .B monodis
-[\-hd] [\-\-help] 
+[\-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]
-[\-\-typedefl]
-[\-\-assemblyref] 
+[\-\-blob]
 [FILES...]
 .SH DESCRIPTION
 The \fImonodis\fP program is used to dump the contents a CIL image
@@ -24,18 +46,101 @@ The following Generic options are supported:
 .I "--help", "-h"
 Displays usage instructions.
 .TP
-.I "--typeref"
-Dumps the contents of the typeref table.
+.I "--output=FILENAME"
+Write output into \fIFILENAME\fP.
 .TP
-.I "--typedef"
-Dumps the contents of the typedef table.
+.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.
+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. 
+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
+monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
 .SH SEE ALSO
-.BR pedump(1)
+.BR pedump(1)