MONODIS(1)
π¦ NAME π¦
monodis β the CIL image content dumper and disassembler, and yes bestie it does both, it's giving overachiever π
(also this page lives under the Mono manual, version Mono 1.1.x, so you know exactly which era of slay we're in β¨)
π SYNOPSIS π
monodis [-h] [--help] [--output=FILENAME] [--mscorlib] [--assembly]
[--assemblyref] [--classlayout] [--constant] [--customattr] [--declsec]
[--event] [--exported] [--fields] [--file] [--forward-decls]
[--genericpar] [--implmap] [--interface] [--manifest] [--marshal]
[--memberref] [--method] [--methodimpl] [--methodsem] [--methodspec]
[--module] [--moduleref] [--mresources] [--presources] [--nested]
[--param] [--parconst] [--property] [--propertymap] [--standalonesig]
[--typedef] [--typeref] [--typespec] [--blob] [--strings]
[--userstrings] [FILES...]
π DESCRIPTION π
okay so monodis is the little icon that dumps the contents of an ECMA/ISO CIL image for you. those images live inside .EXE files that carry extended PE/COFF CIL code, no cap π«Ά
and here's the tea, bestie: if you wanna roundtrip assemblies using ilasm, you should really use the --output argument. like, genuinely. because that's what makes monodis save the embedded resources into actual files that ilasm can later embed back in properly. it's the difference between a clean roundtrip and a whole mess π
and that's not even all of it β the tool can also dump the contents of the various ECMA CIL metadata tables. main character energy fr fr π₯
β¨ OPTIONS β¨
the following Generic options are supported:
--help,-hβ displays usage instructions. the classic "help meeee" button π--output=FILENAMEβ writes output into FILENAME and dumps any embedded managed resources. this is the one you want for roundtripping, remember π--mscorlibβ for non-corlib assemblies, use"mscorlib"as the assembly name. super useful for round-tripping the IL withilasmβ¨--show-method-tokensβ displays tokens for disassembled methods.--show-tokensβ displays tokens for strings, types, methods, fields, etc.
π OPTIONS TO DISPLAY METADATA TABLES π
these options are used to display metadata tables instead of disassembling the CIL image. pick a table, any table π
--assemblyβ dumps the contents of theAssemblytable.--assemblyrefβ dumps the contents of theAssemblyReftable.--classlayoutβ dumps the contents of theClassLayouttable.--constantβ dumps the contents of theConstanttable.--customattrβ dumps the contents of theCustomAttributetable.--declsecβ dumps the contents of theDeclSectable.--eventβ dumps the contents of theEventtable.--exportedβ dumps the contents of theExportedTypetable.--fieldsβ dumps the contents of theFieldtable.--fileβ dumps the contents of theFiletable.--forward-declsβ dumps forward declarations for classes.--genericparβ dumps the contents of theGenericParamtable.--implmapβ dumps the contents of theImplMaptable.--interfaceβ dumps the contents of theInterfaceImpltable.--manifestβ dumps the contents of theManifestResourcetable.--marshalβ dumps the contents of theFieldMarshaltable.--memberrefβ dumps the contents of theMemberReftable.--methodβ dumps the contents of theMethodDeftable.--methodimplβ dumps the contents of theMethodImpltable.--methodspecβ dumps the contents of theMethodSpectable.--methodsemβ dumps the contents of theMethodSemanticstable.--moduleβ dumps the contents of theModuletable.--modulerefβ dumps the contents of theModuleReftable.--mresourcesβ saves all the managed resources embedded in the assembly into the current directory. to get a list of the embedded resources use the--manifestoption π--presourcesβ prints offsets and names of manifest resources embedded in the assembly.--nestedβ dumps the contents of theNestedClasstable.--paramβ dumps the contents of theParamtable.--parconstβ dumps the contents of theGenericParameterConstrainttable.--propertyβ dumps the contents of thePropertytable.--propertymapβ dumps the contents of thePropertyMaptable.--standalonesigβ dumps the contents of theStandAloneSigtable.--typedefβ dumps the contents of theTypeDeftable.--typespecβ dumps the contents of theTypeSpectable.--typerefβ dumps the contents of theTypeReftable.--blobβ dumps the entire contents of the blob stream as hex.--stringsβ dumps the contents of the Strings heap.--userstringsβ dumps the contents of the User-Strings heap.
and if you specify no flags at all? the program just dumps the content of the image in a format that can be used to roundtrip the code. default behaviour ate, honestly π
π§ ENVIRONMENT VARIABLES π§
MONO_PATHβ provides a search path tomonoandmintwhere to look for library files. directories are separated by the platform path separator (colons on unix). example:/home/username/lib:/usr/local/mono/libπΈ
π AUTHOR π
monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer. absolute icons, all three of them π
π SEE ALSO π
and that's the whole page bestie, no notes β¨ this was monodis from the Mono 1.1.x manual β go dump something iconic, you've got this π«Άππ
π¦ where this page comes from
- alpine 3.24: mono-doc 6.14.1-r1 Β· MIT
- arch rolling: mono 6.12.0.206-1 Β· GPL AND LGPL2.1 AND MPL
- debian bookworm: mono-utils 6.8.0.105+dfsg-3.3+deb12u1 Β· MIT
- debian trixie: mono-utils 6.12.0.199+dfsg-6 Β· MIT
- epel 10: mono-devel 6.14.1-1.el10_2 Β· MIT
- epel 9: mono-devel 6.12.0-5.el9 Β· MIT
- fedora 43: mono-devel 6.12.0-21.fc43 Β· MIT
- fedora 43: mono-devel 6.12.0-21.fc43 Β· MIT
- fedora 44: mono-devel 6.14.1-3.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-3.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-4.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-4.fc44 Β· MIT
- nixos 26.05: mono 6.14.1
- nixpkgs unstable: mono 6.14.1
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- ubuntu jammy: mono-utils 6.8.0.105+dfsg-3.2 Β· MIT
- ubuntu noble: mono-utils 6.8.0.105+dfsg-3.6ubuntu2 Β· MIT
- ubuntu questing: mono-utils 6.12.0.199+dfsg-6
- ubuntu resolute: mono-devel 6.14.1+ds2-2 Β· MIT
- ubuntu stonking: mono-devel 6.14.1+ds2-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms