monodis

disassembles

TLDR

Disassemble .NET assembly
$ monodis [assembly.dll]
Show assembly metadata
$ monodis --assembly [assembly.dll]
Show type definitions
$ monodis --typedef [assembly.dll]
Output to file
$ monodis [assembly.dll] > [output.il]

SYNOPSIS

monodis [options] assembly

DESCRIPTION

monodis disassembles .NET assemblies (DLL/EXE) to CIL (Common Intermediate Language) text. Part of the Mono framework. Used for debugging, reverse engineering, and understanding .NET bytecode.

PARAMETERS

--assembly

Show assembly table.
--typedef
Show type definitions.
--typeref
Show type references.
--methoddef
Show method definitions.
--method name
Disassemble specific method.
--output file
Output to file.
--mscorlib
Reference mscorlib for disassembly.

INSTALL

sudo apt install mono-utils
sudo pacman -S mono
sudo apk add mono
brew install mono
nix profile install nixpkgs#mono

SEE ALSO

monop(1)