HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

monodis — The Mono Common Intermediate Language (CIL) disassembler. More information: <https://www.mono-projec

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandmonolanguagemonodiscliintermediatecommon

Problem

How to use the monodis command: The Mono Common Intermediate Language (CIL) disassembler. More information: <https://www.mono-project.com/docs/tools+libraries/tools/monodis/>.

Solution

monodis — The Mono Common Intermediate Language (CIL) disassembler. More information: <https://www.mono-project.com/docs/tools+libraries/tools/monodis/>.

Disassemble an assembly to textual CIL:
monodis {{path/to/assembly.exe}}


Save the output to a file:
monodis --output={{path/to/output.il}} {{path/to/assembly.exe}}


Show information about an assembly:
monodis --assembly {{path/to/assembly.dll}}


List the references of an assembly:
monodis --assemblyref {{path/to/assembly.exe}}


List all the methods in an assembly:
monodis --method {{path/to/assembly.exe}}


List resources embedded within an assembly:
monodis --manifest {{path/to/assembly.dll}}


Extract all the embedded resources to the current directory:
monodis --mresources {{path/to/assembly.dll}}

Code Snippets

Disassemble an assembly to textual CIL

monodis {{path/to/assembly.exe}}

Save the output to a file

monodis --output={{path/to/output.il}} {{path/to/assembly.exe}}

Show information about an assembly

monodis --assembly {{path/to/assembly.dll}}

List the references of an assembly

monodis --assemblyref {{path/to/assembly.exe}}

List all the methods in an assembly

monodis --method {{path/to/assembly.exe}}

Context

tldr-pages: common/monodis

Revisions (0)

No revisions yet.