f405b989a5c663db3a062e929d33c52ad0b996f7
[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 [\-hd] [\-\-help] 
14 [\-\-mscorlib]
15 [\-\-assembly]
16 [\-\-assemblyref]
17 [\-\-classlayout]
18 [\-\-constant]
19 [\-\-event]
20 [\-\-fields]
21 [\-\-file]
22 [\-\-interface]
23 [\-\-memberref]
24 [\-\-method]
25 [\-\-methodsem]
26 [\-\-moduleref]
27 [\-\-param]
28 [\-\-property]
29 [\-\-propertymap]
30 [\-\-typedef]
31 [\-\-typeref]
32 [FILES...]
33 .SH DESCRIPTION
34 The \fImonodis\fP program is used to dump the contents a CIL image
35 (contained in .EXE files that contain extended PE/COFF CIL code).  
36 .SH OPTIONS
37 The following Generic options are supported:
38 .TP
39 .I "--help", "-h"
40 Displays usage instructions.
41 .TP
42 .I "--mscorlib"
43 For non-corlib assemblies, use "mscorlib" as the assembly name. This
44 is useful for round-tripping the IL with ilasm.
45 .I "--assembly"
46 Dumps the contents of the assembly table
47 .I "--assemblyref"
48 Dumps the contents of the assemblyref table
49 .I "--classlayout"
50 Dumps the contents of the classlayout table
51 .I "--constant"
52 Dumps the contents of the constant table
53 .I "--event"
54 Dumps the contents of the event table
55 .I "--fields"
56 Dumps the contents of the fields table
57 .I "--file"
58 Dumps the contents of the file table
59 .I "--interface"
60 Dumps the contents of the interface table
61 .I "--memberref"
62 Dumps the contents of the memberref table
63 .I "--method"
64 Dumps the contents of the method table
65 .I "--methodsem"
66 Dumps the contents of the methodsem table
67 .I "--moduleref"
68 Dumps the contents of the moduleref table
69 .I "--param"
70 Dumps the contents of the param table
71 .I "--property"
72 Dumps the contents of the property table
73 .I "--propertymap"
74 Dumps the contents of the propertymap table
75 .I "--typedef"
76 Dumps the contents of the typedef table
77 .I "--typeref"
78 Dumps the contents of the typeref table
79 .PP
80 If no flags are specified the program dumps the content of the image
81 in a format that can be used to rountrip the code. 
82 .SH AUTHOR
83 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
84 .SH SEE ALSO
85 .BR pedump(1)