1Mono(Mono 1.1.x) Mono(Mono 1.1.x)
2
3
4
6 monodis - CIL image content dumper and disassembler.
7
9 monodis [-h] [--help] [--output=FILENAME] [--mscorlib] [--assembly]
10 [--assemblyref] [--classlayout] [--constant] [--customattr] [--declsec]
11 [--event] [--exported] [--fields] [--file] [--forward-decls] [--gener‐
12 icpar] [--implmap] [--interface] [--manifest] [--marshal] [--memberref]
13 [--method] [--methodimpl] [--methodsem] [--methodspec] [--module]
14 [--moduleref] [--mresources] [--presources] [--nested] [--param]
15 [--parconst] [--property] [--propertymap] [--standalonesig] [--typedef]
16 [--typeref] [--typespec] [--blob] [--strings] [--userstrings]
17 [FILES...]
18
20 The monodis program is used to dump the contents an ECMA/ISO CIL image
21 (contained in .EXE files that contain extended PE/COFF CIL code).
22
23 To roundtrip assemblies using ilasm, it is best to use the --output
24 argument, as that will make monodis save the embedded resources in
25 files that can later be properly embedded back by ilasm.
26
27 Additionally, the tool can be used to dump the contents of the various
28 ECMA CIL metadata tables.
29
31 The following Generic options are supported:
32
33 --help , -h
34 Displays usage instructions.
35
36 --output=FILENAME
37 Write output into FILENAME and dump any embedded managed
38 resources.
39
40 --mscorlib
41 For non-corlib assemblies, use "mscorlib" as the assembly name.
42 This is useful for round-tripping the IL with ilasm.
43
44 --show-method-tokens
45 Display tokens for disassembled methods.
46
47 --show-tokens
48 Display tokens for strings, types, methods, fields, etc.
49
51 The following options are used to display metadata tables instead of
52 disassembling the CIL image.
53
54 --assembly
55 Dumps the contents of the Assembly table.
56
57 --assemblyref
58 Dumps the contents of the AssemblyRef table.
59
60 --classlayout
61 Dumps the contents of the ClassLayout table.
62
63 --constant
64 Dumps the contents of the Constant table.
65
66 --customattr
67 Dumps the contents of the CustomAttribute table.
68
69 --declsec
70 Dumps the contents of the DeclSec table.
71
72 --event
73 Dumps the contents of the Event table.
74
75 --exported
76 Dumps the contents of the ExportedType table.
77
78 --fields
79 Dumps the contents of the Field table.
80
81 --file Dumps the contents of the File table.
82
83 --forward-decls
84 Dumps forward declarations for classes.
85
86 --genericpar
87 Dumps the contents of the GenericParam table.
88
89 --implmap
90 Dumps the contents of the ImplMap table.
91
92 --interface
93 Dumps the contents of the InterfaceImpl table.
94
95 --manifest
96 Dumps the contents of the ManifestResource table.
97
98 --marshal
99 Dumps the contents of the FieldMarshal table.
100
101 --memberref
102 Dumps the contents of the MemberRef table.
103
104 --method
105 Dumps the contents of the MethodDef table.
106
107 --methodimpl
108 Dumps the contents of the MethodImpl table.
109
110 --methodspec
111 Dumps the contents of the MethodSpec table.
112
113 --methodsem
114 Dumps the contents of the MethodSemantics table.
115
116 --module
117 Dumps the contents of the Module table.
118
119 --moduleref
120 Dumps the contents of the ModuleRef table.
121
122 --mresources
123 Saves all the managed resources embedded in the assembly into
124 the current directory. To get a list of the embedded resources
125 use the --manifest option.
126
127 --presources
128 Prints offsets and names of manifest resources embedded in the
129 assembly.
130
131 --nested
132 Dumps the contents of the NestedClass table.
133
134 --param
135 Dumps the contents of the Param table.
136
137 --parconst
138 Dumps the contents of the GenericParameterConstraint table.
139
140 --property
141 Dumps the contents of the Property table.
142
143 --propertymap
144 Dumps the contents of the PropertyMap table.
145
146 --standalonesig
147 Dumps the contents of the StandAloneSig table.
148
149 --typedef
150 Dumps the contents of the TypeDef table.
151
152 --typespec
153 Dumps the contents of the TypeSpec table.
154
155 --typeref
156 Dumps the contents of the TypeRef table.
157
158 --blob Dumps the entire contents of the blob stream as hex.
159
160 --strings
161 Dumps the contents of the Strings heap.
162
163 --userstrings
164 Dumps the contents of the User-Strings heap
165
166 If no flags are specified the program dumps the content of the image in
167 a format that can be used to rountrip the code.
168
170 MONO_PATH
171 Provides a search path to mono and mint where to look for
172 library files. Directories are separated by the platform path
173 separator (colons on unix). Example: /home/user‐
174 name/lib:/usr/local/mono/lib
175
177 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Mau‐
178 rer.
179
181 pedump(1)
182
183
184
185 Mono(Mono 1.1.x)