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.shLinux 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.shmacOS
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.shWindows
# 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.ps1What 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" # macOSConfiguration
Create ~/.creait:
api_key = YOUR_REVENGAI_API_KEY
host = https://api.reveng.ai
Verification
radare2 -AA /bin/ls
[0x00000000]> RE?
# Should display RevEngAI plugin helpRequirements
Runtime Requirements:
- Radare2 5.9.8 or compatible
- Valid RevEngAI API key from https://portal.reveng.ai
Platform-specific Installation Tools:
- Linux:
patchelftool 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
- Bug reports: https://github.com/RevEngAI/reai-r2/issues
- Discord:
What's Changed
- Doc & Workflow Update by @brightprogrammer in #12
- RenameFunction in rAutoRenameFunctions by @brightprogrammer in #13
Full Changelog: v2.2.0...v2.2.1