remnux/radare2

Sponsored OSS

Radare2: A reverse-engineering framework for a variety of executable formats and architectures.

Image
Security
38

500K+

remnux/radare2 repository overview

This Docker image encapsulates the Radare2 reverse-engineering framework.

To run this image after installing Docker, use a command like this, replacing "~/workdir" with the path to your working directory on the underlying host:

docker run --rm -it --cap-drop=ALL --cap-add=SYS_PTRACE -v ~/workdir:/home/nonroot/workdir remnux/radare2

Then run r2 or other Radare2 commands inside the container. Before running the application, create ~/workdir on your host.

r2ai and decai

The image includes r2ai, a native plugin that adds LLM-powered analysis to Radare2 (function analysis, vulnerability detection, auto variable naming), and its companion decai decompiler integration plugin. Both are pre-installed via r2pm.

r2ai requires an LLM backend to function, such as a cloud API (OpenAI, Anthropic, etc.) or a local model server (Ollama). Pass your API key when launching the container:

docker run --rm -it -e OPENAI_API_KEY=your-key -v ~/workdir:/home/nonroot/workdir remnux/radare2

Inside r2, configure the provider and model before use. The default provider is Ollama; to use a cloud API instead:

r2ai -p openai
r2ai -m gpt-4

Use r2ai -h and decai -h to see available commands. Use r2ai -p? to list providers and r2ai -e to view all settings.

r2ghidra

The image also bundles r2ghidra, which integrates the Ghidra decompiler into Radare2 without requiring Java or a Ghidra installation. Unlike r2ai, it needs no API key or network access, and it ships its own processor (Sleigh) definitions.

Decompile a function inside r2 with the pdg command after analyzing the binary:

aa
s main
pdg

Use pdg? to list the available subcommands. This plugin is amd64 only.

Tag summary

Content type

Image

Digest

sha256:470b9216c

Size

97.1 MB

Last updated

25 days ago

docker pull remnux/radare2

This week's pulls

Pulls:

51

Jun 29 to Jul 5