* test-9.il: New test, test instaniating a class
[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 [\-\-interface]
25 [\-\-manifest]
26 [\-\-memberref]
27 [\-\-method]
28 [\-\-methodsem]
29 [\-\-module]
30 [\-\-moduleref]
31 [\-\-param]
32 [\-\-property]
33 [\-\-propertymap]
34 [\-\-typedef]
35 [\-\-typeref]
36 [FILES...]
37 .SH DESCRIPTION
38 The \fImonodis\fP program is used to dump the contents a CIL image
39 (contained in .EXE files that contain extended PE/COFF CIL code).  
40 .SH OPTIONS
41 The following Generic options are supported:
42 .TP
43 .I "--help", "-h"
44 Displays usage instructions.
45 .TP
46 .I "--output=FILENAME"
47 Write output into \fIFILENAME\fP.
48 .TP
49 .I "--mscorlib"
50 For non-corlib assemblies, use "mscorlib" as the assembly name. This
51 is useful for round-tripping the IL with ilasm.
52 .TP
53 .I "--assembly"
54 Dumps the contents of the assembly table
55 .TP
56 .I "--assemblyref"
57 Dumps the contents of the assemblyref table
58 .TP
59 .I "--classlayout"
60 Dumps the contents of the classlayout table
61 .TP
62 .I "--constant"
63 Dumps the contents of the constant table
64 .TP
65 .I "--event"
66 Dumps the contents of the event table
67 .TP
68 .I "--exported"
69 Dumps the contents of the ExportedTypes table
70 .TP
71 .I "--fields"
72 Dumps the contents of the fields table
73 .TP
74 .I "--file"
75 Dumps the contents of the file table
76 .TP
77 .I "--interface"
78 Dumps the contents of the interface table
79 .TP
80 .I "--manifest"
81 Dumps the contents of the manifest table.
82 .TP
83 .I "--memberref"
84 Dumps the contents of the memberref table
85 .TP
86 .I "--method"
87 Dumps the contents of the method table
88 .TP
89 .I "--methodsem"
90 Dumps the contents of the methodsem table
91 .TP
92 .I "--module"
93 Dumps the contents of the module table
94 .TP
95 .I "--moduleref"
96 Dumps the contents of the moduleref table
97 .TP
98 .I "--param"
99 Dumps the contents of the param table
100 .TP
101 .I "--property"
102 Dumps the contents of the property table
103 .TP
104 .I "--propertymap"
105 Dumps the contents of the propertymap table
106 .TP
107 .I "--typedef"
108 Dumps the contents of the typedef table
109 .TP
110 .I "--typeref"
111 Dumps the contents of the typeref table
112 .PP
113 If no flags are specified the program dumps the content of the image
114 in a format that can be used to rountrip the code. 
115 .PP
116 .SH ENVIRONMENT VARIABLES
117 .TP
118 .I "MONO_PATH"
119 Provides a search path to mono and mint where to look for library files.
120 Directories are separated by the platform path separator (colons on unix). Example:
121 .B /home/username/lib:/usr/local/mono/lib
122 .PP
123 .SH AUTHOR
124 monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer.
125 .SH SEE ALSO
126 .BR pedump(1)