{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "morluto-rea--understand-native-binary-behavior",
 "repo": "morluto/rea",
 "repo_url": "https://github.com/morluto/rea",
 "repo_slug": "morluto-rea",
 "title": "Get readable pseudocode from a native binary",
 "page_title": "How to get readable pseudocode from a native binary with Rea",
 "summary": "Use Hopper, Ghidra or IDA through your agent to see what one routine in a compiled program does.",
 "who": "Engineer who inherited an old compiled tool with lost source and needs to know what one routine does",
 "problem": "Without source code, finding out what a routine does means hours in a disassembler.",
 "outcome": "Pseudocode, assembly and references for the routine, plus a plain explanation your agent ties to that evidence.",
 "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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "1.5 hours",
 "basis": "readme",
 "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.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": true,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "Only analyze binaries you own or are licensed to inspect; many commercial licenses forbid disassembly."
  }
 ],
 "best": false,
 "score": 0.75,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/morluto-rea/understand-native-binary-behavior/",
 "md": "https://dedupedai.com/use-cases/morluto-rea/understand-native-binary-behavior/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/morluto-rea--understand-native-binary-behavior.json",
 "api_version": "v1"
}
