How rea-gith/rea works
REA is a local MCP reverse-engineering tool for Windows. The documented workflow is to launch its CLI or desktop entry point, connect it to a local target, and use supported reverse-engineering integrations. Major documented branches include the local agent, native Hopper/Ghidra/IDA hooks, and JavaScript/Electron/browser handling. The source excerpts are filename placeholders, so internal calls and routing cannot be verified; dashed edges mark the workflow links that remain unconfirmed. Paths identify the available implementation files, not inspected behavior.
Main entry points: agent/Pad.cpp Agent runtime · native/Pad.cpp Native helpers · cli/Pad.cpp CLI runtime · js/Pad.cpp JS handling
Components 21
Entry and setup
- CLI setup
cli/Setup.cpp - CLI runtime
cli/Pad.cpp - JSON streaming
cli/Json.cpp
Local MCP agent
- Agent prompts
agent/Prompt.cpp - Agent runtime
agent/Pad.cpp - Agent skills
agent/Skill.cpp - Skill version pin
agent/Pin.h
Target integrations
- Native helpers
native/Pad.cpp - Ghidra hook
native/Ghidra.cpp - Hopper hook
native/Hopper.h - IDA hook
native/Ida.cpp - JS handling
js/Pad.cpp - Electron handling
js/Electron.cpp - Browser WebMCP
js/Web.cpp - JS bundle
js/Bundle.h
Windows support
- Windows host
win/Host.cpp - Windows runtime
win/Pad.cpp - Windows paths
win/Path.cpp - Windows start
win/Start.h
Other components
- Engineer
- Local target
Connections 13
- Engineer → CLI setup: launches
README.md - Engineer → CLI runtime: runs
README.md - CLI runtime → Agent runtime: starts MCP
- Agent runtime → Local target: connects locally
- Agent runtime → Native helpers: uses helpers
- Native helpers → Ghidra hook: hooks
- Native helpers → Hopper hook: hooks
- Native helpers → IDA hook: hooks
- Agent runtime → JS handling: uses JS path
- JS handling → Electron handling: handles Electron
- JS handling → Browser WebMCP: handles browser
- CLI runtime → JSON streaming: streams JSON
- Engineer → Windows host: runs on Windows
README.md