# r2ghidra

> r2ghidra integrates the Ghidra decompiler into radare2. The plugin is built from the C++ decompiler, so a Ghidra install is not required. r2pm -ci r2ghidra installs it. After af analyzes a function, pdg decompiles it. pdga shows disassembly beside the decompilation, pdgj dumps JSON, and pdgs lists Sleigh languages. It is known to build on Termux, macOS, iOS, GNU/Linux, Windows, and FreeBSD x86-64. ACR/make or Meson/Ninja can build it.

- Type: Tool
- Targets: Binary
- Category: Native analysis tools
- Relationship: Foundation tool
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/radareorg/r2ghidra>
- Primary source: <https://github.com/radareorg/r2ghidra/blob/edc6310be8d76d912d7fd96eda266e77610788c6/README.md>
- Catalog page: <https://awesomerea.org/resources/r2ghidra/>
- Record JSON: <https://awesomerea.org/resources/r2ghidra/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/r2ghidra/index.md)

## Requirements & limits

- radare2, pkg-config, a C++ compiler, and either ACR/make or Meson/Ninja. git and Python 3 prepare ghidra-native.
- License: LGPL-3.0-only for r2ghidra. The linked ghidra-native tree is Apache License 2.0. zlib is vendored under the zlib license.

## Primary sources

1. <https://github.com/radareorg/r2ghidra/blob/edc6310be8d76d912d7fd96eda266e77610788c6/README.md>

## More in Native binaries

- [Oxidizer](https://awesomerea.org/resources/oxidizer/index.md) · Tool
- [E-Decompiler](https://awesomerea.org/resources/e-decompiler/index.md) · Tool
- [Nyxstone](https://awesomerea.org/resources/nyxstone/index.md) · Tool
- [Mikage Developer Edition](https://awesomerea.org/resources/mikage-dev/index.md) · Tool
- [STrace](https://awesomerea.org/resources/strace/index.md) · Tool
- [BinAIVulHunter](https://awesomerea.org/resources/binaivulhunter/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
