2004-05-28 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 "--show-method-tokens"
56 Display tokens for dissasembled methods
57 .TP
58 .I "--assembly"
59 Dumps the contents of the assembly table
60 .TP
61 .I "--assemblyref"
62 Dumps the contents of the assemblyref table
63 .TP
64 .I "--classlayout"
65 Dumps the contents of the classlayout table
66 .TP
67 .I "--constant"
68 Dumps the contents of the constant table
69 .TP
70 .I "--event"
71 Dumps the contents of the event table
72 .TP
73 .I "--exported"
74 Dumps the contents of the ExportedTypes table
75 .TP
76 .I "--fields"
77 Dumps the contents of the fields table
78 .TP
79 .I "--file"
80 Dumps the contents of the file table
81 .TP
82 .I "--genericpar"
83 Dumps the contents of the generic parameter table.
84 .I "--interface"
85 Dumps the contents of the interface table
86 .TP
87 .I "--manifest"
88 Dumps the contents of the manifest table.
89 .TP
90 .I "--memberref"
91 Dumps the contents of the memberref table
92 .TP
93 .I "--method"
94 Dumps the contents of the method table
95 .TP
96 .I "--methodspec"
97 Dumps the contents of the method spec table.
98 .TP
99 .I "--methodsem"
100 Dumps the contents of the methodsem table
101 .TP
102 .I "--module"
103 Dumps the contents of the module table
104 .TP
105 .I "--moduleref"
106 Dumps the contents of the moduleref table
107 .TP
108 .I "--param"
109 Dumps the contents of the param table
110 .TP
111 .I "--parconst"
112 Dumps the contents of the gemeric parameter constraint table
113 .TP
114 .I "--property"
115 Dumps the contents of the property table
116 .TP
117 .I "--propertymap"
118 Dumps the contents of the propertymap table
119 .TP
120 .I "--typedef"
121 Dumps the contents of the typedef table
122 .TP
123 .I "--typespec"
124 Dumps the contents of the typespec table
125 .TP
126 .I "--typeref"
127 Dumps the contents of the typeref table
128 .PP
129 If no flags are specified the program dumps the content of the image
130 in a format that can be used to rountrip the code. 
131 .PP
132 .SH ENVIRONMENT VARIABLES
133 .TP
134 .I "MONO_PATH"
135 Provides a search path to mono and mint where to look for library files.
136 Directories are separated by the platform path separator (colons on unix). Example:
137 .B /home/username/lib:/usr/local/mono/lib
138 .PP
139 .SH AUTHOR
140 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
141 .SH SEE ALSO
142 .BR pedump(1)