CilTools.CommandLine
2.9.0
dotnet tool install --global CilTools.CommandLine --version 2.9.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local CilTools.CommandLine --version 2.9.0
#tool dotnet:?package=CilTools.CommandLine&version=2.9.0
nuke :add-package CilTools.CommandLine --version 2.9.0
CIL Tools command line
Command line tool to view disassembled CIL code of methods in .NET assemblies.
Commands:
view - Print CIL code of types or methods or the content of CIL source files
Usage
Print disassembled CIL code of the specified assembly, type or method:
cil view [--nocolor] [--html] <assembly path> [<type full name>] [<method name>]
Print contents of the specified CIL source file (*.il):
cil view [--nocolor] [--html] <source file path>
[--nocolor] - Disable syntax highlighting
[--html] - Output format is HTML
disasm - Write disassembled CIL code of the specified assembly, type or method into the file
Usage
cil disasm [--output <output path>] [--html] <assembly path> [<type full name>] [<method name>]
[--output <output path>] - Output file path
[--html] - Output format is HTML
view-source - Print source code of the specified method
Usage
cil view-source [--nocolor] [--html] <assembly path> <type full name> <method name>
[--nocolor] - Disable syntax highlighting
[--html] - Output format is HTML
For methods with body, this command can print source code based on symbols, if they are available. For methods without body, the command prints a disassembled source code.
fileinfo - Prints information about assembly file
Usage
cil fileinfo <assembly path>
help - Print available commands
Copyright (c) 2024, SmallSoft (https://gitflic.ru/user/smallsoft)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
This package has no dependencies.