Authorization notice. Rea is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. Only analyze binaries you own or are licensed to inspect; many commercial licenses forbid disassembly.
Who it is forEngineer who inherited an old compiled tool with lost source and needs to know what one routine does
The problemWithout source code, finding out what a routine does means hours in a disassembler.
The outcomePseudocode, assembly and references for the routine, plus a plain explanation your agent ties to that evidence.
What you need first
- Node.js 22.x (>=22.19), 24.x (>=24.11), or 26+, plus npm
- An agent that supports local MCP servers, such as Claude Code, Codex, Cursor or Gemini CLI
- For native binaries: Hopper, Ghidra or IDA
- For websites: a Chrome-family browser
- On Linux: a procps-compatible ps on PATH for JavaScript and Electron analysis
Steps
- Install Hopper, Ghidra or IDA. Setup can install Hopper after you approve it; Ghidra and IDA use your own installation.
- Run
npx rea-agents setup, choose your agent, review and approve the changes, then restart the agent. - Ask your agent to open the binary with REA and explain the function you care about.
- Ask it to show the pseudocode and references it relied on, and check the parts it marks as unknown.
Prompt for your agent
Use REA with my installed <Hopper, Ghidra or IDA> to analyze the binary at <path>, explain what <function or behavior> does, and show the pseudocode and references. Verify claims against the shown output.
Caveat. Deep native analysis needs one of Hopper, Ghidra or IDA, and large binaries may need a longer provider startup timeout. Pseudocode can be incomplete, so treat it as a lead.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for morluto/rea and "Get readable pseudocode from a native binary"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer