1Mono(Mono 1.1.x)                                              Mono(Mono 1.1.x)
2
3
4

NAME

6       monodis - CIL image content dumper and disassembler.
7

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

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

OPTIONS TO DISPLAY METADATA TABLES

48       The  following  options  are used to display metadata tables instead of
49       disassembling the CIL image.
50
51       --assembly
52              Dumps the contents of the Assembly table.
53
54       --assemblyref
55              Dumps the contents of the AssemblyRef table.
56
57       --classlayout
58              Dumps the contents of the ClassLayout table.
59
60       --constant
61              Dumps the contents of the Constant table.
62
63       --customattr
64              Dumps the contents of the CustomAttribute table.
65
66       --declsec
67              Dumps the contents of the DeclSec table.
68
69       --event
70              Dumps the contents of the Event table.
71
72       --exported
73              Dumps the contents of the ExportedType table.
74
75       --fields
76              Dumps the contents of the Field table.
77
78       --file Dumps the contents of the File table.
79
80       --forward-decls
81              Dumps forward declarations for classes.
82
83       --genericpar
84              Dumps the contents of the GenericParam table.
85
86       --implmap
87              Dumps the contents of the ImplMap table.
88
89       --interface
90              Dumps the contents of the InterfaceImpl table.
91
92       --manifest
93              Dumps the contents of the ManifestResource table.
94
95       --marshal
96              Dumps the contents of the FieldMarshal table.
97
98       --memberref
99              Dumps the contents of the MemberRef table.
100
101       --method
102              Dumps the contents of the MethodDef table.
103
104       --methodimpl
105              Dumps the contents of the MethodImpl table.
106
107       --methodspec
108              Dumps the contents of the MethodSpec table.
109
110       --methodsem
111              Dumps the contents of the MethodSemantics table.
112
113       --module
114              Dumps the contents of the Module table.
115
116       --moduleref
117              Dumps the contents of the ModuleRef table.
118
119       --mresources
120              Saves all the managed resources embedded in  the  assembly  into
121              the current directory.   To get a list of the embedded resources
122              use the --manifest option.
123
124       --presources
125              Prints offsets and names of manifest resources embedded  in  the
126              assembly.
127
128       --nested
129              Dumps the contents of the NestedClass table.
130
131       --param
132              Dumps the contents of the Param table.
133
134       --parconst
135              Dumps the contents of the GenericParameterConstraint table.
136
137       --property
138              Dumps the contents of the Property table.
139
140       --propertymap
141              Dumps the contents of the PropertyMap table.
142
143       --standalonesig
144              Dumps the contents of the StandAloneSig table.
145
146       --typedef
147              Dumps the contents of the TypeDef table.
148
149       --typespec
150              Dumps the contents of the TypeSpec table.
151
152       --typeref
153              Dumps the contents of the TypeRef table.
154
155       --blob Dumps the entire contents of the blob stream as hex.
156
157       --strings
158              Dumps the contents of the Strings heap.
159
160       --userstrings
161              Dumps the contents of the User-Strings heap
162
163       If no flags are specified the program dumps the content of the image in
164       a format that can be used to rountrip the code.
165

ENVIRONMENT VARIABLES

167       MONO_PATH
168              Provides a search path to  mono  and  mint  where  to  look  for
169              library  files.   Directories are separated by the platform path
170              separator    (colons    on    unix).    Example:     /home/user‐
171              name/lib:/usr/local/mono/lib
172

AUTHOR

174       monodis  was  written by Miguel de Icaza, Paolo Molaro and Dietmar Mau‐
175       rer.
176

SEE ALSO

178       pedump(1)
179
180
181
182                                                              Mono(Mono 1.1.x)
Impressum