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