decompile
Converts a binary function into readable pseudo-C, flagging checked versus lifted code and warnings to support reverse engineering.
Instructions
Decompile one function to pseudo-C. Locals are local_N/arg_N (local_N: N hex bytes below frame base, x86 entry sp-word (rbp-N after push rbp; mov rbp,rsp), arm entry sp; higher N, lower address; local_mN: N bytes above); /* asm */: unmodeled code. Header: what was checked (proved vs lift: equal to lift, 1 emulator sample), // warn: what is wrong. Use function_summary first.
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": "decompile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Return at most this many lines (default 300; more than the text has for all). | |
| detail | No | `skeleton` for flow and calls only; `full` or absent for all of it. | |
| filter | No | Keep only lines containing this text, case-insensitively. | |
| offset | No | Skip this many lines of the answer. | |
| address | Yes | Function entry or any address inside it. |