Skip to content

RevEngAI Radare2 Plugin v2.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Jun 13:06
· 1 commit to master since this release
940d5fa

RevEngAI Radare2 Plugin Release v2.2.1

This release contains the RevEngAI plugin for Radare2 with automated install scripts.

Downloads

Platform Download Contents
Linux x86_64 reai-r2-linux-x86_64.tar.gz Radare2 plugin + install script
Linux ARM64 reai-r2-linux-aarch64.tar.gz Radare2 plugin + install script
macOS reai-r2-macos.tar.gz Radare2 plugin + install script
Windows reai-r2-windows.zip Radare2 plugin + install script

Installation (Recommended)

Use the included install scripts for automatic installation:

Linux x86_64

wget https://github.com/RevEngAI/reai-r2/releases/download/v2.2.1/reai-r2-linux-x86_64.tar.gz
tar -xzf reai-r2-linux-x86_64.tar.gz
cd reai-r2-linux-x86_64

# Install dependencies (Ubuntu/Debian)
sudo apt install patchelf radare2

# Run installer
chmod +x install-linux.sh
./install-linux.sh

Linux ARM64

wget https://github.com/RevEngAI/reai-r2/releases/download/v2.2.1/reai-r2-linux-aarch64.tar.gz
tar -xzf reai-r2-linux-aarch64.tar.gz
cd reai-r2-linux-aarch64

# Install dependencies (Ubuntu/Debian)
sudo apt install patchelf radare2

# Run installer
chmod +x install-linux.sh
./install-linux.sh

macOS

curl -L -O https://github.com/RevEngAI/reai-r2/releases/download/v2.2.1/reai-r2-macos.tar.gz
tar -xzf reai-r2-macos.tar.gz
cd reai-r2-macos

# Install dependencies
brew install radare2
xcode-select --install

# Run installer
chmod +x install-macos.sh
./install-macos.sh

Windows

# Download and extract
Invoke-WebRequest "https://github.com/RevEngAI/reai-r2/releases/download/v2.2.1/reai-r2-windows.zip" -OutFile "reai-r2-windows.zip"
Expand-Archive "reai-r2-windows.zip" -Force
cd reai-r2-windows

# Run installer with execution policy bypass
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install-windows.ps1

What The Install Scripts Do

  • Install libraries to user directories (~/.local/lib/)
  • Install Radare2 plugin to $(radare2 -H R2_USER_PLUGINS)
  • Fix library paths so plugins can find dependencies
  • Set up environment variables
  • Verify installation and provide status messages

Manual Installation

If the automated scripts don't work:

File Locations:

  • Linux: ~/.local/lib/libreai.so + plugin to $(radare2 -H R2_USER_PLUGINS)
  • macOS: ~/.local/lib/libreai.dylib + plugin to $(radare2 -H R2_USER_PLUGINS)
  • Windows: %USERPROFILE%\.local\bin\reai.dll + plugin to $(radare2 -H R2_USER_PLUGINS)

Environment Variables (Unix):

export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"  # Linux
export DYLD_LIBRARY_PATH="$HOME/.local/lib:$DYLD_LIBRARY_PATH"  # macOS

Configuration

Create ~/.creait:

api_key = YOUR_REVENGAI_API_KEY
host = https://api.reveng.ai

Verification

radare2 -AA /bin/ls
[0x00000000]> RE?
# Should display RevEngAI plugin help

Requirements

Runtime Requirements:

Platform-specific Installation Tools:

  • Linux: patchelf tool for rpath fixing (sudo apt install patchelf)
  • macOS: Xcode command line tools for rpath fixing (xcode-select --install)
  • Windows: PowerShell with script execution enabled

Build Requirements (if building from source):

  • CMake 3.25 or higher
  • C/C++ compiler (GCC/Clang on Unix, MSVC on Windows)
  • Python 3 with PyYAML (pip install pyyaml)
  • pkg-config
  • libcurl development headers
  • Git (for version information)

Support

What's Changed

Full Changelog: v2.2.0...v2.2.1