Native analysis: choose the right engine
Understand the roles of REA, your AI client, and the decompiler. Check available capabilities against your target format and operating system.
Version pins and source links updated 2026-11-18 (Beijing time). Tutorial examples have not been rerun.
How REA, your client, and the engine work together
REA provides a common analysis interface through CLI or MCP. Native engines handle disassembly and decompilation. Your AI client organizes questions, calls tools, and explains the evidence.
The REA main-branch docs describe native analysis with Hopper, Ghidra, or IDA. Supported platforms, formats, and operations differ. Check that your installed release includes any newer capability you intend to use.
Choose based on your target
If you already have a usable engine, connect that installation using the official instructions. Hopper is separate software with its own licensing and startup process; setup can assist with installation after your approval. Ghidra and IDA use your existing installations.
Check whether your target is Mach-O, ELF, PE, or another format. Then check the host OS, architecture, engine version, and required operations. Do not assume Windows native analysis has the same support as macOS or Linux.
Hopper, Ghidra, and IDA are not interchangeable in every case. This guide does not promise support for every platform or format.
Check the engine before analyzing your target
For Ghidra, start with provider diagnostics. Confirm the required paths and runtime conditions, then open your target using the relevant engine guide.
When multiple engines are installed, select one explicitly with the --provider argument in the official CLI docs. Diagnostics for another engine do not establish readiness for the one you intend to use.
npx -y rea-agents@5.0.0 doctor --provider ghidra --jsonTrace functions, references, and calls
Ask your client to identify the target, then locate relevant functions using strings, symbols, and cross-references. Read assembly, pseudocode, and call relationships together before drawing a conclusion.
Missing symbols, optimization, obfuscation, and type recovery errors can limit the result. Mark conclusions that still require runtime verification.
First identify the target program and available analysis engines.
Find strings, references, and call paths related to local search.
Explain the key functions' inputs and outputs, with evidence locations and uncertainty.Sources & version
This guide independently summarizes official documentation. It has not been verified against your environment or app. The official main branch may be ahead of the npm release.
Official capabilities and platform supportOfficial REA 5.0.0 installation and engine setupOfficial guide directory