← 返回命令列表

Linux command

monodis 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

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]

说明

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.

参数

--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.

FAQ

What is the monodis command used for?

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.

How do I run a basic monodis example?

Run `monodis [assembly.dll]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --assembly do in monodis?

Show assembly table.