
In December 2026, AI reverse engineering has walked straight into a "compilability trap." The best LLMs can now push Ghidra pseudocode from 75% to 90% compilability—while silently dropping behavioral equivalence from 74% to 62%. Worse, up to 1 in 10 real CVE crashes simply vanish when an AI rewrites the function.
If you are building or adopting AI binary analysis tools right now, three hard numbers define the state of the field:
- Compilable does not mean correct: A September 2026 empirical study by Syracuse University and CrowdStrike (arXiv:2609.05370) proved that LLMs hallucinate bounds checks and types just to satisfy the compiler—silently "fixing" actual vulnerabilities in the process.
- MCP orchestration and M&A won the year: On the open-source side,
mrexodia/ida-pro-mcp(13.6k Stars) andLaurieWired/GhidraMCP(12.1k Stars) became the de facto standard, while behavioral cloning toolcraft-anythinghit 46.2k Stars in a single month. Commercially, Hex-Rays acquired AI security startup HexAI in October 2026 for a reported $30M–$35M, signaling the end of standalone micro-plugins. - Whole-program recovery is still broken: Even the non-LLM superset decompiler
Manifold(arXiv:2603.28002)—which hits a 93% recompilation rate on 101 stripped GNU coreutils—only passes 7% of the actual test suites.
Understanding where these tools actually work, and where they hit a wall, matters far more than chasing the latest repo.
Why LLMs Can Read Binaries—And Why They Break Past One Function
LLMs aren't actually reading raw machine code. They are riding on the output of traditional decompilers: Ghidra (NSA, open-source), IDA Pro (Hex-Rays), and Binary Ninja (Vector 35). Those engines lift machine code into C-like pseudocode with function signatures, control flow, and variable declarations.
Because pseudocode is structured text, LLMs excel at pattern matching over it. Hand a model a single function, and it will reliably spot an AES key schedule, a base64 encoder, or a classic buffer overflow.
The hard boundary is scope: reliable on isolated functions, terrible across call graphs. The moment you need to track a struct's lifecycle—allocated in Module A, mutated in Module B, freed in Module C—accuracy falls off a cliff. Every tool on the market is an attempt to work around this single constraint.

The 7 Architectures of AI Reverse Engineering
Categorized by what they observe and what they output, the 2024–2026 ecosystem splits into seven distinct tracks:
- 1. Dedicated LLM Decompilers (
LLM4Decompile,SK²Decompile,DecLLM,ReCopilot) — Input: Assembly or pseudocode. Output: Cleaner, compilable C and symbols. Status:LLM4Decompile-6.7B-Refhits 52.74% re-executability;SK²Decompileaccepted to ICLR 2026. - 2. MCP Bridges (
ida-pro-mcp,GhidraMCP,x64dbg-mcp-server,REA) — Input: Static DBs, live debugger state, multi-tool sessions. Output: Direct agentic tool calls. Status: Mainstream production paradigm (ida-pro-mcpat 13.6k Stars;GhidraMCPat 12.1k Stars). - 3. Inline IDE Plugins (
Gepetto,GhidrAssist,Binary Ninja Sidekick) — Input: Currently focused function. Output: Explanations, batch renaming, bug hints. Status:Gepetto(3.5k Stars, IDA Pro only); Sidekick now a tiered commercial subscription. - 4. Behavioral Reconstruction (
Craft Anything,Co-op Anything) — Input: UI, user interactions, file I/O. Output: Runnable clean-room reimplementation. Status:craft-anythinghit 46.2k Stars in 30 days (MIT license). - 5. Deterministic Verification (
Reverify) — Input: LLM claims + raw binary bytes. Output:VERIFIED/REFUTED/INCONCLUSIVE. Status: Blocked 69/71 false prologue guesses on Windows PE files with 0 false accepts. - 6. Static Platform Migration (
TotK Recomp) — Input: Full binary machine code + syscalls. Output: Native executable for another architecture. Status: Statically recompiles Switch Tears of the Kingdom (ARM64) to PC x86-64 + Vulkan 1.3. - 7. Whole-Program Recovery (
Manifold,RE-MAS) — Input: Full call graphs, dataflow, type constraints. Output: Compilable multi-file project. Status:Manifold(non-LLM) hits 93% recompile / 7% test pass;RE-MASremains a design note with no code.
Track 1: LLM Decompilers and the Semantics Inversion
Academic research has moved through four rapid generations:
- Gen 1 (
LLM4Decompile, EMNLP 2024, arXiv:2403.05286): Fine-tuned DeepSeek-Coder (1.3B–33B) for direct assembly-to-C (End) or Ghidra refinement (Ref).Ghidra + LLM4Decompile-Ref-6.7Breached 52.74% re-executability on HumanEval-Decompile (vs. 20.12% for bare Ghidra and 35.22% forGhidra + GPT-4o), with22B-v2hitting 63.6%. Bottleneck: 4,096-token context, Linux x86_64 single functions only. - Gen 2 (
SK²Decompile, Sept 2025, arXiv:2509.22114): Accepted as an ICLR 2026 Poster in Jan 2026. Uses two-stage RL to decouple control-flow/data-structure recovery ("skeleton") from identifier naming ("skin"), beating GPT-5-mini by an average of 21.6% on HumanEval re-executability. - Gen 3 (
DecLLM, ISSTA 2025): Shifts the goal from readability to compilability via a compiler-feedback loop (Ghidra → LLM fix → compiler error → retry+ dynamic feedback). Driven by GPT-4, it makes ~70% (70/100) of uncompilable Ghidra functions compile, unlocking CodeQL on binaries. Caveat: tested function-by-function on unstripped binaries, closed-source, 4,096-token cap. - Gen 4 (
ReCopilot, May 2025, arXiv:2505.16366): Built by QiAnXin's Xingtu Lab onQwen2.5-Coder-7B(CPT → SFT → DPO). Injects static call graphs and dataflow context upfront, outperforming runner-up baselines by 13% on average and matching 671B DeepSeek-V3 with a 7B footprint.
The catch: Using their Decompile-Diverge fuzzer across 8 systems (9 configurations), Syracuse and CrowdStrike (arXiv:2609.05370) found that even AI-refined functions passing all unit tests still diverged from the original binary on 4.9% of new valid inputs on average (up to 13%). To silence compiler errors, LLMs invent guard clauses and types that mask traditional decompiler unknowns—and erase real bugs.
Track 2: MCP Bridges (Where Production Engineering Actually Lives)
Instead of forcing an LLM to memorize x86, engineers now expose Ghidra, IDA, and debuggers as MCP tools so agents can query xrefs and set breakpoints themselves.
- Static heavyweights: mrexodia/ida-pro-mcp (13.6k Stars) and LaurieWired/GhidraMCP (12.1k Stars) mirror how humans actually reverse engineer: search strings → inspect function → rename in DB → pivot via xrefs. Weaknesses: blind to indirect jumps and runtime packing.
- Dynamic control:
x64dbg-mcp-server(written in Zig byduty1g) runs natively inside Windowsx64dbg, exposing ~80 debugging tools over HTTP/JSON-RPC. The winning workflow is hybrid: use static MCP to flag three suspect config-parsing functions, then set breakpoints viax64dbgto see which one actually fires. - Multi-engine orchestration: morluto/rea (on npm since July 2026, now v4.1.0+) prevents agents from mixing up static and dynamic addresses across Ghidra/IDA and Frida/GDB/LLDB. It binds sessions via
BinarySession, tags every output with provenance and coverage, and refuses to silently fall back if an engine crashes.
Track 3: Inline Plugins (Getting Absorbed by Platforms)
- JusticeRage/Gepetto (3.5k Stars): IDA Pro 7.6+ with Hex-Rays only (no Ghidra support). Batch-renames
FUN_00401000into readable names; shifted toward agentic tool calling in v1.5.0 (Oct 2025). - symgraph/GhidrAssist (784 Stars, maintained by
jtang613): Connects Ghidra directly to OpenAI, Anthropic, or local Ollama models for function-level Q&A. - Binary Ninja Sidekick: Built directly into Vector 35's platform with cursor awareness, headless batch renaming, and background verification.
Tracks 4 & 6: Bypassing Function-by-Function Analysis
- Behavioral cloning: storytold/craft-anything (open-sourced late Oct 2026, MIT, 46.2k Stars in a month) drives local coding agents through a
Study → Build → Check → Readyloop to rebuild apps, websites, or games. OffersClean room(UI/interaction only) andDeep(reads JS/decompiled code) modes;Co-op Anythingapplies this to add multiplayer to single-player games. Reality check: matching screenshots don't guarantee matching state machines or edge-case handling. - Static recompilation: valentderah/totk-pc-recomp proves full-binary migration works (Switch ARM64 to PC x86-64 + Vulkan 1.3), but it relies on heavy, version-specific systems engineering—not a single LLM prompt.
Track 5: Deterministic Verification (Reverify)
An LLM's worst habit in reverse engineering is confident hallucination. Reverify (by 2akouwu, ~1.3k–1.4k Stars) forces models to emit machine-checkable claims (exact byte offsets, call targets, post-emulation register states) and grades them as VERIFIED, REFUTED, or INCONCLUSIVE using byte readers, disassembly, emulation, and Z3.
On 71 real Windows PE system files, AI models guessed function entry prologues wrong 97% of the time (69/71). Reverify caught all 69 with zero false accepts—and logged zero false accepts across an extended benchmark of 475 known-false claims.
Academic Gaps Filled: Symbols, Types, and SCA
Three standout papers target the weakest links in decompilation:
ReSym(Purdue, ACM CCS 2024 Distinguished Paper): Pairs fine-tuned LLMs with lightweight Prolog reasoning to suppress hallucinations during struct recovery.TYGR(USENIX Security 2024 Distinguished Paper): Skips LLMs entirely, running a GNN overangr's VEX IR for intra-procedural type inference—hitting 76.6% overall accuracy on x64 O0–O3 (45.2% on structs), beating prior SOTA by at least 26.1%.BinaryAI(Tencent Keen Lab, ICSE 2024, arXiv:2401.11161): Uses Transformer embeddings for binary-to-source matching and Software Composition Analysis (SCA), with IDA/Ghidra plugins.
Why Whole-Program Decompilation Still Fails
Zoom out across all seven tracks and the ceiling is obvious: AI reverse engineering is trapped on function-level islands.
Take a simple network daemon with a connection_t struct. Function A allocates it; Function B sends packets with it. Decompiled in isolation, A returns void* and B takes a long with raw pointer arithmetic. Both look clean on their own. Put them in the same project and the build explodes. Stuffing a 1MB binary into a single context window isn't viable either—disassembly easily runs into millions of lines where mid-context attention degrades.
In 2026, Manifold (arXiv:2603.28002, 50k lines of Rust + Datalog) proved you can solve the syntax problem without LLMs: 93% recompilation on 101 stripped GNU coreutils where Ghidra, Hex-Rays, angr, and RetDec all scored 0%. Yet only 7% passed their test suites. The bottleneck is no longer syntax—it is maintaining global semantic equivalence across functions.
What about multi-agent architectures? You may have seen RE-MAS (March 2026 design notes proposing four agents orchestrated via LangGraph over a Neo4j Code Property Graph). Be clear on its status: there is no open-source implementation and no published paper. Treating architecture diagrams as shipped software is the fastest way to misjudge this space.
Late-2026 Stack, Pricing, and the Privacy Trap
Before committing to a commercial AI stack, look closely at the 2026 pricing and data-training terms:
- Ghidra (NSA): Free, Apache-2.0. Pair with
GhidraMCP(12.1k Stars) andGhidrAssist. Trade-off: No official hosted AI; pseudocode on heavy C++ vtables and obfuscated binaries often trails Hex-Rays. - IDA Pro (Hex-Rays): Subscription-only—Home $365/yr, Essential €1,099/yr, Expert €4,999/yr, Ultimate €8,599/yr. Acquired HexAI in Oct 2026 (air-gapped enterprise agentic platform); community standard is
ida-pro-mcp(13.6k Stars) andGepetto. Trade-off: Essential relies on cloud decompilation;Gepettorequires Hex-Rays. - Binary Ninja 6.0 + Sidekick: Core license is Free $0, Non-Commercial $199, Commercial $1,799, Ultimate $3,499. Sidekick AI add-on is Free $0, Basic $24/mo, Pro $80/mo, Max $240/mo, Self-Hosted $5,000/seat/yr (3-seat minimum).
- ⚠️ Privacy Trap: Sidekick's Free and Basic ($24/mo) tiers do not opt out of using your data for model training. For proprietary firmware or undisclosed 0-days, you must use Pro ($80/mo)+ or Self-Hosted.
3 Operational Rules for Practitioners
- Treat LLM output as a hypothesis, never a finding. Use AI for renaming and triage, but verify every claim with xrefs, dynamic breakpoints, or a deterministic checker like
Reverifybefore it touches a vulnerability report. - Pair static MCP with dynamic MCP. Use
GhidraMCPorida-pro-mcpto narrow the search space, then immediately drop intox64dbg-mcp-serverto inspect live registers and memory. Static alone gets fooled by obfuscation; dynamic alone misses untriggered branches. - Respect the boundary. AI reverse engineering is production-ready for clean-binary triage, batch renaming, and SCA. For heavily obfuscated malware or full-project reconstruction, human engineering is still doing the heavy lifting.
Reverse engineering hasn't been automated away—the job just shifted from manually translating assembly to catching model hallucinations, designing dynamic verification experiments, and stitching function-level fragments back into system-level truth.
Frequently Asked Questions
Q: If AI-decompiled code compiles cleanly, why can't I trust it for security audits or code reuse? Because compilability does not guarantee semantic equivalence. The September 2026 Syracuse/CrowdStrike study (arXiv:2609.05370) showed that LLMs routinely invent bounds checks and rewrite types to fix compiler errors—dropping behavioral equivalence from 74% to 62% and silently erasing roughly 10% of real CVE crashes.
Q: What is the highest-ROI AI reverse engineering stack for solo researchers right now? At $0, run Ghidra + GhidraMCP + x64dbg-mcp-server connected to your preferred coding agent for hybrid static/dynamic analysis. If you already own IDA Pro, ida-pro-mcp (13.6k Stars) plus Gepetto is the fastest triage setup. For sensitive or embargoed samples, run local models (ReCopilot or LLM4Decompile via Ollama) or verify zero-training enterprise terms.
Q: What is the main catch with Binary Ninja Sidekick's 2026 pricing? Data privacy. Under Binary Ninja 6.0's pricing, Sidekick Free ($0) and Basic ($24/mo) allow submitted data to be used for product development and training. Analyzing internal corporate binaries or undisclosed vulnerabilities requires at least Sidekick Pro ($80/mo) or Self-Hosted ($5,000/seat/yr, 3-seat minimum).
Q: When will whole-program AI decompilation actually be production-ready? Not in the near term. Even non-LLM superset decompilation (Manifold) only achieves a 7% test pass rate despite 93% recompilation on stripped GNU coreutils, and proposed multi-agent frameworks like RE-MAS have no public code yet. Until cross-function type consistency and global state verification are solved, AI reverse engineering remains a function-level accelerator and hybrid investigation copilot.