r2ghidra — Ghidra decompiler inside radare2

Last updated: · By the BinBench editorial team · Stars and releases checked via the GitHub API
Quick answer

r2ghidra (radareorg/r2ghidra) brings Ghidra's decompiler into radare2 workflows. Release 6.2.4 (2026-10-05 UTC) was the latest non-prerelease on 2026-10-24. Plugin licensing is LGPL-3.0-only per upstream LICENSE.md. Use it on binaries you are authorized to analyze.

Snapshot

FieldValue
LicenseLGPL-3.0-only (LICENSE.md; GitHub often NOASSERTION)
Latest checked6.2.4 (2026-10-05 UTC)
JobGhidra decompiler/sleigh as a radare2 plugin
Stars (order of magnitude)~566 on GitHub (counts change daily)
PeersFull Ghidra, RetDec, Cutter

When r2ghidra fits

  • You already script or navigate in radare2 / Cutter.
  • You want Ghidra-quality decompilation without opening a separate Ghidra project for every quick look.
  • Your lab pins matching radare2 + r2ghidra release pairs.

When to prefer something else

NeedPrefer
Full analyzers, projects, collaborationStandalone Ghidra
Lightweight GUI over RizinCutter (+ rz-ghidra where applicable)
Headless batch decompilation pipelinesGhidra headless

Decompilation does not grant rights to redistribute or crack third-party software. Keep targets inside authorization.

Which to pick
  • Use r2ghidra when your daily driver is radare2 and you need Ghidra decompiler output.
  • Prefer full Ghidra for large projects and collaborative RE.
  • Pin matching r2 + plugin versions from official Releases.

For legal, authorized and educational use only.

FAQ

What is r2ghidra?

r2ghidra is a radare2 plugin (and related packaging) that embeds Ghidra's decompiler/sleigh so you can request Ghidra-style decompilation from r2/Cutter sessions.

Which version is cited?

6.2.4 published 2026-10-05 UTC on radareorg/r2ghidra Releases (aligned with radare2 6.2.4 packaging; checked 2026-10-24).

What license applies?

Upstream LICENSE.md states SPDX LGPL-3.0-only for r2ghidra. GitHub may show NOASSERTION for SPDX — read LICENSE.md and COPYING in the tree you pin. Bundled Ghidra-origin components keep their own Apache-2.0 lineage.

Full Ghidra or r2ghidra?

Prefer the full Ghidra desktop when you need projects, analyzers and collaboration. Prefer r2ghidra when you already live in radare2/Cutter and want Ghidra decompiler output without leaving that CLI/GUI.

Does this teach cracking commercial apps?

No. Decompile only binaries you own or may examine under authorization.

Sources