disassemble_function
Disassemble an entire .NET function into labeled CIL blocks with named call targets to inspect exact instructions when decompiled C is insufficient.
Instructions
Disassemble a whole function by blocks, with L_<addr>: labels and named call targets, CIL for .NET. Use it when exact instructions matter; for C use decompile, for a few instructions disassemble.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "disassemble_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | Add the raw-bytes column (default false). | |
| address | Yes | Entry, any address inside it, or a name. | |
| max_instrs | No | Maximum instructions to return (default 400, max 2000). |