Documented MONO_PATH (partially from Magnus Runesson <mr-mono@linuxalert.org>).
[mono.git] / mono / dis / monodis.1
1 .\" 
2 .\" monodis manual page.
3 .\" (C) Ximian, Inc. 
4 .\" Author:
5 .\"   Miguel de Icaza (miguel@gnu.org)
6 .\"
7 .TH Mono "Mono 1.0"
8 .SH NAME
9 monodis \- CIL image content dumper and disassembler.
10 .SH SYNOPSIS
11 .PP
12 .B monodis
13 [\-hd] [\-\-help] 
14 [\-\-mscorlib]
15 [\-\-assembly]
16 [\-\-assemblyref]
17 [\-\-classlayout]
18 [\-\-constant]
19 [\-\-event]
20 [\-\-exported]
21 [\-\-fields]
22 [\-\-file]
23 [\-\-interface]
24 [\-\-manifest]
25 [\-\-memberref]
26 [\-\-method]
27 [\-\-methodsem]
28 [\-\-module]
29 [\-\-moduleref]
30 [\-\-param]
31 [\-\-property]
32 [\-\-propertymap]
33 [\-\-typedef]
34 [\-\-typeref]
35 [FILES...]
36 .SH DESCRIPTION
37 The \fImonodis\fP program is used to dump the contents a CIL image
38 (contained in .EXE files that contain extended PE/COFF CIL code).  
39 .SH OPTIONS
40 The following Generic options are supported:
41 .TP
42 .I "--help", "-h"
43 Displays usage instructions.
44 .TP
45 .I "--mscorlib"
46 For non-corlib assemblies, use "mscorlib" as the assembly name. This
47 is useful for round-tripping the IL with ilasm.
48 .TP
49 .I "--assembly"
50 Dumps the contents of the assembly table
51 .TP
52 .I "--assemblyref"
53 Dumps the contents of the assemblyref table
54 .TP
55 .I "--classlayout"
56 Dumps the contents of the classlayout table
57 .TP
58 .I "--constant"
59 Dumps the contents of the constant table
60 .TP
61 .I "--event"
62 Dumps the contents of the event table
63 .TP
64 .I "--exported"
65 Dumps the contents of the ExportedTypes table
66 .TP
67 .I "--fields"
68 Dumps the contents of the fields table
69 .TP
70 .I "--file"
71 Dumps the contents of the file table
72 .TP
73 .I "--interface"
74 Dumps the contents of the interface table
75 .TP
76 .I "--manifest"
77 Dumps the contents of the manifest table.
78 .TP
79 .I "--memberref"
80 Dumps the contents of the memberref table
81 .TP
82 .I "--method"
83 Dumps the contents of the method table
84 .TP
85 .I "--methodsem"
86 Dumps the contents of the methodsem table
87 .TP
88 .I "--module"
89 Dumps the contents of the module table
90 .TP
91 .I "--moduleref"
92 Dumps the contents of the moduleref table
93 .TP
94 .I "--param"
95 Dumps the contents of the param table
96 .TP
97 .I "--property"
98 Dumps the contents of the property table
99 .TP
100 .I "--propertymap"
101 Dumps the contents of the propertymap table
102 .TP
103 .I "--typedef"
104 Dumps the contents of the typedef table
105 .TP
106 .I "--typeref"
107 Dumps the contents of the typeref table
108 .PP
109 If no flags are specified the program dumps the content of the image
110 in a format that can be used to rountrip the code. 
111 .PP
112 .SH ENVIRONMENT VARIABLES
113 .TP
114 .I "MONO_PATH"
115 Provides a search path to mono and mint where to look for library files.
116 Directories are separated by the platform path separator (colons on unix). Example:
117 .B /home/username/lib:/usr/local/mono/lib
118 .PP
119 .SH AUTHOR
120 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
121 .SH SEE ALSO
122 .BR pedump(1)