RHEXA compared
RHEXA combines the REA agent layer with its own headless engine derived from Ghidra. The table shows what the combination improves over the two individual products. Figures come from the task benchmark and measurements on an AMD Ryzen 9 3900X under Linux; details are in the overall plan and the news.
| Area | Ghidra 12.1.4 alone | REA 6.5 alone | RHEXA |
|---|---|---|---|
| Purpose | desktop tool for people; agents only through own scripts or third-party plugins | toolkit for AI agents (MCP and CLI) that drives external programs | toolkit for AI agents with its own built-in analysis engine |
| Installation | unpack the archive, bring your own JDK | install and configure Ghidra, Rizin, objdump and possibly IDA, Hopper or JEB yourself | rhexa engine install with a checksum manifest; only JDK 25 is brought by the user |
| Engine connection | – | bridge compiled from sources with javac at runtime, without a protocol version | built-in RhexaBridge module, versioned protocol; every response checked against a JSON schema in tests |
| Deep analysers | one (Ghidra itself) | several side by side (Ghidra, IDA, Hopper, JEB, Rizin, objdump) with different result shapes | one: the Rhexa Engine; objdump and Rizin functions rebuilt, parity documented in matrices |
| Reusing an analysis | save projects (UI or analyzeHeadless with a project); agents have to drive this themselves | no: every process analyses again, even when the same file is opened a second time | persistent engine projects: reopening in about 4 s; kubectl (50.8 MB) 20.4 min → 9.1 s |
| Resuming after a restart | manual | no | investigation record with evidence, notes and engine annotations; a resuming agent needs 15–30 % fewer tool responses |
| Token and cost effort | – | benchmark baseline | compact result profile: tool responses −38 %, cost −14 % at the same accuracy (Gate 1) |
| Engine start time | analyzeHeadless 4.81 s | as Ghidra | 4.12 s (−14 %), because the UI and tool layer are gone |
| Attack surface | desktop UI, debugger, multi-user server; 153 vulnerability findings in the distribution (17 critical) | inherits the attack surface of the connected programs | headless without server, debugger and PyGhidra; 6 findings, none on the analysis path; security fixes from Ghidra 12.2 adopted, HTTPS only with verified certificates; browsers launched by RHEXA keep their sandbox |
| Evidence chain action → code → effect | static only | separate runtime tools (Frida, browser), not linked to the static analysis | map_runtime_address, observe_feature_chain and build_feature_chain link runtime and engine into a checked chain |
| Recovering C++ classes | script RecoverClassesFromRTTIScript writes its results straight into the program | – | recover_native_classes read-only, every statement with its source (RTTI, vtables, exports, DWARF, runtime), contradictions as alternatives; apply_native_types writes after checks with readback |
| Windows products without RTTI | the class script needs RTTI; classes only by hand from exported names | – | classes from exported vtables and COM type libraries: CATIA V5 with 71 of 80 interfaces linked |
| Large Windows installations | import every DLL separately | single files | search_pe_symbols across 4,300 DLLs in about 8 s, inspect_com_type_library without the engine; called from WSL2 with Windows paths |
| Proof of quality | unit and integration tests | unit tests and lanes | additionally a task benchmark with answer key at every gate, 97 % agent-layer coverage, lanes against the installed engine |
| Provenance and updates | – | – | provenance record for every engine deviation, monthly review of both origins |
Where the individual products stay stronger
Ghidra
- A graphical UI for manual work on code, a debugger and a multi-user server, which RHEXA removed on purpose.
- A large ecosystem of extensions and scripts that use UI APIs.
- Newer upstream releases (currently 12.2) with all features; RHEXA only adopts checked fixes from them.
REA
- A choice of several commercial analysers (IDA, Hopper, JEB) for those who hold their licenses.
- Features added after the fork, such as Authenticode checks, Apple and NTFS tools.
- MIT license including commercial use; RHEXA is free for noncommercial use only.