2003-10-09 Zoltan Varga <vargaz@freemail.hu>
[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 [\-h] [\-\-help] 
14 [\-\-output=FILENAME]
15 [\-\-mscorlib]
16 [\-\-assembly]
17 [\-\-assemblyref]
18 [\-\-classlayout]
19 [\-\-constant]
20 [\-\-event]
21 [\-\-exported]
22 [\-\-fields]
23 [\-\-file]
24 [\-\-genericpar]
25 [\-\-interface]
26 [\-\-manifest]
27 [\-\-memberref]
28 [\-\-method]
29 [\-\-methodsem]
30 [\-\-module]
31 [\-\-moduleref]
32 [\-\-param]
33 [\-\-parconst]
34 [\-\-property]
35 [\-\-propertymap]
36 [\-\-typedef]
37 [\-\-typeref]
38 [FILES...]
39 .SH DESCRIPTION
40 The \fImonodis\fP program is used to dump the contents a CIL image
41 (contained in .EXE files that contain extended PE/COFF CIL code).  
42 .SH OPTIONS
43 The following Generic options are supported:
44 .TP
45 .I "--help", "-h"
46 Displays usage instructions.
47 .TP
48 .I "--output=FILENAME"
49 Write output into \fIFILENAME\fP.
50 .TP
51 .I "--mscorlib"
52 For non-corlib assemblies, use "mscorlib" as the assembly name. This
53 is useful for round-tripping the IL with ilasm.
54 .TP
55 .I "--assembly"
56 Dumps the contents of the assembly table
57 .TP
58 .I "--assemblyref"
59 Dumps the contents of the assemblyref table
60 .TP
61 .I "--classlayout"
62 Dumps the contents of the classlayout table
63 .TP
64 .I "--constant"
65 Dumps the contents of the constant table
66 .TP
67 .I "--event"
68 Dumps the contents of the event table
69 .TP
70 .I "--exported"
71 Dumps the contents of the ExportedTypes table
72 .TP
73 .I "--fields"
74 Dumps the contents of the fields table
75 .TP
76 .I "--file"
77 Dumps the contents of the file table
78 .TP
79 .I "--genericpar"
80 Dumps the contents of the generic parameter table.
81 .I "--interface"
82 Dumps the contents of the interface table
83 .TP
84 .I "--manifest"
85 Dumps the contents of the manifest table.
86 .TP
87 .I "--memberref"
88 Dumps the contents of the memberref table
89 .TP
90 .I "--method"
91 Dumps the contents of the method table
92 .TP
93 .I "--methodspec"
94 Dumps the contents of the method spec table.
95 .TP
96 .I "--methodsem"
97 Dumps the contents of the methodsem table
98 .TP
99 .I "--module"
100 Dumps the contents of the module table
101 .TP
102 .I "--moduleref"
103 Dumps the contents of the moduleref table
104 .TP
105 .I "--param"
106 Dumps the contents of the param table
107 .TP
108 .I "--parconst"
109 Dumps the contents of the gemeric parameter constraint table
110 .TP
111 .I "--property"
112 Dumps the contents of the property table
113 .TP
114 .I "--propertymap"
115 Dumps the contents of the propertymap table
116 .TP
117 .I "--typedef"
118 Dumps the contents of the typedef table
119 .TP
120 .I "--typeref"
121 Dumps the contents of the typeref table
122 .PP
123 If no flags are specified the program dumps the content of the image
124 in a format that can be used to rountrip the code. 
125 .PP
126 .SH ENVIRONMENT VARIABLES
127 .TP
128 .I "MONO_PATH"
129 Provides a search path to mono and mint where to look for library files.
130 Directories are separated by the platform path separator (colons on unix). Example:
131 .B /home/username/lib:/usr/local/mono/lib
132 .PP
133 .SH AUTHOR
134 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
135 .SH SEE ALSO
136 .BR pedump(1)