Skip to content

Light-weight cross platform IL disassembler tool built in C#.

License

Notifications You must be signed in to change notification settings

lextudio/dotnet-ildasm2

 
 

Repository files navigation

Dot Net IL Disassembler

Nuget Nuget License

Description

The dotnet-ildasm2 provides a command-line IL disassembler. Simply send the assembly path as a parameter and as a result you will get the IL contents of that assembly.

Setup

The project was created as a global CLI tool, therefore you can install with a single command:

dotnet tool install -g dotnet-ildasm2

Note that for the command above to work, you need .NET SDK 6 or above installed in your machine.

Syntax

ildasm <ASSEMBLY_PATH>
ildasm <ASSEMBLY_PATH> <-o|--output>
ildasm <ASSEMBLY_PATH> <-i|--item>
ildasm <-h|--help>

Options

-i
Filter results by method and/or classes to be disassembled.

-o
Define the output file to be created with the assembly's IL.

Examples

Output IL to the command line:

ildasm myassembly.dll

Filter results by method and/or classes to be disassembled, showing the result in the command line:

ildasm myassembly.dll -i ClassName
ildasm myassembly.dll -i ::MethodName
ildasm myassembly.dll -i ClassName::MethodName

Define the file to be created with the output:

ildasm myassembly.dll -o disassembledAssembly.il

About

Light-weight cross platform IL disassembler tool built in C#.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.9%
  • Other 2.1%