https://github.com/pjbgf/dotnet-ildasm
Light-weight cross platform IL disassembler tool built in C#.
https://github.com/pjbgf/dotnet-ildasm
cil disassembler dotnet-cli dotnet-core dotnet-ildasm il-disassembler ildasm msil
Last synced: 11 months ago
JSON representation
Light-weight cross platform IL disassembler tool built in C#.
- Host: GitHub
- URL: https://github.com/pjbgf/dotnet-ildasm
- Owner: pjbgf
- License: mit
- Created: 2017-05-24T21:25:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T10:17:29.000Z (about 6 years ago)
- Last Synced: 2025-03-18T07:03:53.488Z (11 months ago)
- Topics: cil, disassembler, dotnet-cli, dotnet-core, dotnet-ildasm, il-disassembler, ildasm, msil
- Language: C#
- Homepage:
- Size: 187 KB
- Stars: 64
- Watchers: 4
- Forks: 14
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dot Net IL Disassembler
[](https://circleci.com/gh/pjbgf/dotnet-ildasm)
[](http://nuget.org/packages/dotnet-ildasm)
[](http://nuget.org/packages/dotnet-ildasm)
[](http://pjbgf.mit-license.org)
# Description
The `dotnet ildasm` provides a command-line IL dissassembler. 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-ildasm`
Note that for the command above to work, you need .NET Core SDK 2.1.300 or above installed in your machine.
# Syntax
```
dotnet ildasm
dotnet ildasm <-o|--output>
dotnet ildasm <-i|--item>
dotnet 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:
```
dotnet ildasm myassembly.dll
```
Filter results by method and/or classes to be disassembled, showing the result in the command line:
```
dotnet ildasm myassembly.dll -i ClassName
dotnet ildasm myassembly.dll -i ::MethodName
dotnet ildasm myassembly.dll -i ClassName::MethodName
```
Define the file to be created with the output:
```
dotnet ildasm myassembly.dll -o disassembledAssembly.il
```