X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fdis%2Fmonodis.1;h=182d117308c9b9254b93762a78e15f127c9e33a3;hb=7945233379603accb278d271440b610e5c048e28;hp=d3e64fd2e1d32d370dd67dae6caf0b1cfed2705c;hpb=da4f9e9b2afb23791029d0bb09d78b868aabd870;p=mono.git diff --git a/mono/dis/monodis.1 b/mono/dis/monodis.1 index d3e64fd2e1d..182d117308c 100644 --- a/mono/dis/monodis.1 +++ b/mono/dis/monodis.1 @@ -37,6 +37,7 @@ monodis \- CIL image content dumper and disassembler. [\-\-module] [\-\-moduleref] [\-\-mresources] +[\-\-presources] [\-\-nested] [\-\-param] [\-\-parconst] @@ -47,14 +48,20 @@ monodis \- CIL image content dumper and disassembler. [\-\-typeref] [\-\-typespec] [\-\-blob] +[\-\-strings] +[\-\-userstrings] [FILES...] .SH DESCRIPTION -The \fImonodis\fP program is used to dump the contents a CIL image -(contained in .EXE files that contain extended PE/COFF CIL code). +The \fImonodis\fP program is used to dump the contents an ECMA/ISO CIL +image (contained in .EXE files that contain extended PE/COFF CIL +code). .PP To roundtrip assemblies using ilasm, it is best to use the --output argument, as that will make monodis save the embedded resources in files that can later be properly embedded back by ilasm. +.PP +Additionally, the tool can be used to dump the contents of the various +ECMA CIL metadata tables. .SH OPTIONS The following Generic options are supported: .TP @@ -70,6 +77,9 @@ is useful for round-tripping the IL with ilasm. .TP .I "--show-method-tokens" Display tokens for disassembled methods. +.SH OPTIONS TO DISPLAY METADATA TABLES +The following options are used to display metadata tables instead of +disassembling the CIL image. .TP .I "--assembly" Dumps the contents of the Assembly table. @@ -141,7 +151,12 @@ Dumps the contents of the Module table. Dumps the contents of the ModuleRef table. .TP .I "--mresources" -Dumps the managed resources embedded in the assembly. +Saves all the managed resources embedded in the assembly into the +current directory. To get a list of the embedded resources use the +--manifest option. +.TP +.I "--presources" +Prints offsets and names of manifest resources embedded in the assembly. .TP .I "--nested" Dumps the contents of the NestedClass table. @@ -172,6 +187,12 @@ Dumps the contents of the TypeRef table. .TP .I "--blob" Dumps the entire contents of the blob stream as hex. +.TP +.I "--strings" +Dumps the contents of the Strings heap. +.TP +.I "--userstrings" +Dumps the contents of the User-Strings heap .PP If no flags are specified the program dumps the content of the image in a format that can be used to rountrip the code.