radareorg/radare2

Public

UNIX-like reverse engineering framework and command-line toolset

  • Stars25.2k+76 tuần này
  • Forks3.4k
  • Watchers486
  • Issues727
  • Ngày tạo03/07/2012
  • Cập nhật gần nhất31/10/2026
  • Ngôn ngữC
  • Giấy phép—
README.md24.0 KBRaw

screenshot

Radare2: Libre Reversing Framework for Unix Geeks

Tests Status build tcc CII Best Practices Build Status Discord

Current git master branch is 6.2.5, next release will be 6.2.6.

Description

r2 is a complete rewrite of radare. It provides a set of libraries, tools and plugins to ease reverse engineering tasks. Distributed under LGPLv3, despite each plugin can have different licenses (see r2 -Lj for details)

The radare project started as a simple command-line hexadecimal editor focused on forensics. Today, r2 is a full-featured low-level command-line tool with support for scripting with the embedded Javascript interpreter or via r2pipe.

r2 can edit files on local hard drives, view kernel memory, and debug programs locally or via a remote gdb/windbg servers. r2's wide architecture support allows you to analyze, emulate, debug, modify, and disassemble any binary.

screenshot

Installation

Download the last released binaries.

The recommended way to install radare2 is from Git repository source:

git clone https://github.com/radareorg/radare2
radare2/sys/install.sh
  • Run sys/install.sh for the default acr+make+symlink installation
  • meson/ninja (muon/samu also works) and make builds are supported.

Nix

radare2 provides Nix packaging under dist/nix.

Source Build

  • r2 can be installed from git or via pip using r2env.
  • Windows builds require meson and msvc or mingw as compilers
  • To uninstall the current build of r2 run make uninstall
  • To uninstall ALL the system installations of r2 do: sudo make purge

On Windows use the .bat scripts and msvc:

preconfigure.bat       REM setup python, meson, ninja
configure.bat          REM run meson b + vs project
make.bat               REM run ninja -C b
prefix\bin\radare2.exe

Popular Plugins:

Using the r2pm tool you can browse and install many plugins and tools that use radare2.

  • iaito: The official Qt graphical interface
  • keystone Assembler instructions using the Keystone library
  • decai Decompiler based on AI
  • r2ai Run a Language Model in localhost with Llama inside r2!
  • r2dec: A decompiler based on r2 written in JS, accessed with the

Nội dung README thuộc về radareorg và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/radareorg/radare2