disasm_capstone
Disassemble bytes from a binary section by specifying path, section name, offset, size, and max instructions. Returns a JSON list of instructions with address, mnemonic, operands, and bytes.
Instructions
Disassemble size bytes of section section_name starting at offset.
Returns a JSON list of instructions (address, mnemonic, operands, bytes). Truncates to max_insns (default 500) — call again with a different offset to see more.
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": {
"path": "<path>",
"section_name": "<section_name>"
},
"name": "disasm_capstone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| section_name | Yes | ||
| offset | No | ||
| size | No | ||
| max_insns | No |