decompile
Tools / Read code · read-only
Decompile one function to pseudo-C. Locals are local_N/arg_N (local_N is N hex bytes below the frame base: on x86 one word below the entry sp, so rbp-N where the prologue pushes rbp and sets it there; on arm the entry sp; higher N, lower address; local_mN is N bytes above the frame base); /* asm */ marks unmodeled code. Line 2 says what was checked, // warn: what is wrong. Not for a first look (use function_summary).
Parameters
addressstringrequired
Function entry or any address inside it.
detailstring
skeleton for flow and calls only; full or absent for all of it.
full— The whole function.skeleton— The flow and the calls only.
filterstring
Keep only lines containing this text, case-insensitively.
limitinteger
Return at most this many lines (default 300; more than the text has for all).
offsetinteger
Skip this many lines of the answer.
Call
json
{
"name": "decompile",
"arguments": {
"address": "…"
}
}