decompiler
Installation
SKILL.md
When to use
Pick this skill when the user wants readable pseudocode for a
function (or wants to grep across pseudocode for many functions). For
raw assembly use the disassembly skill.
Runtime gating
The pseudocode table is only registered if a decompiler is
available. At session bootstrap r2xsql probes in this order:
| probe | provided by | r2xsql command |
|---|---|---|
pdg? |
r2ghidra (recommended) | pdg @ <addr> |
pdd? |
r2dec | pdd @ <addr> |
pdc? |
r2 built-in | pdc @ <addr> |
The first probe that succeeds wins. The pseudocode table is registered only
when a decompiler is detected, so check for it: