Disassemble a function
disasmDisassemble a function by address or name, with offset and max-instruction pagination plus an optional total instruction count.
Instructions
Disassemble function with offset/max_instructions pagination and optional total count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | Function address or name to disassemble | |
| offset | No | Skip first N instructions (default: 0) | |
| instance_id | No | Optional database instance id. If omitted, use the current target. | |
| include_total | No | Compute total instruction count (default: false) | |
| max_instructions | No | Max instructions per function (default: 5000, max: 50000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asm | No | ||
| addr | No | ||
| error | No | ||
| cursor | No | ||
| instruction_count | No | ||
| total_instructions | No |