RE-Architect Installation Guide
September 19, 2025 ยท View on GitHub
This guide provides detailed instructions for setting up RE-Architect on various platforms.
Prerequisites
RE-Architect requires the following:
- Python 3.11 or higher
- 64-bit operating system (Windows, Linux, or macOS)
- 16GB+ RAM recommended for analyzing large binaries
- CUDA-compatible GPU (optional, for accelerated analysis)
Installation Steps
1. Clone the Repository
git clone https://github.com/your-username/re-architect.git
cd re-architect
2. Set Up a Virtual Environment (Recommended)
On Windows:
python -m venv venv
.\venv\Scripts\activate
On Linux/macOS:
python3 -m venv venv
source venv/bin/activate
3. Install Dependencies
pip install -r requirements.txt
4. Install External Tools
RE-Architect can integrate with external decompilers for enhanced analysis:
Ghidra (Recommended)
- Download Ghidra from https://ghidra-sre.org/
- Extract the archive to your preferred location
- Update the
config.yamlfile with the path to your Ghidra installation
IDA Pro (Optional)
- Install IDA Pro
- Update the
config.yamlfile with the path to your IDA Pro installation
Binary Ninja (Optional)
- Install Binary Ninja
- Update the
config.yamlfile with the path to your Binary Ninja installation
5. Configure API Keys (Optional)
For LLM-based function summarization, you'll need to set up API keys:
- Obtain an API key from OpenAI (https://platform.openai.com/) or Anthropic
- Add the key to your
config.yamlfile:llm: enable: true provider: openai model: gpt-4 api_key: your_api_key_here
6. Verify Installation
Run the following command to verify that RE-Architect is properly installed:
python -m unittest discover tests
Running RE-Architect
Basic Usage
python main.py path/to/binary --output-dir ./output
Advanced Options
# Use a specific decompiler
python main.py path/to/binary --decompiler ghidra
# Generate test harnesses
python main.py path/to/binary --generate-tests
# Start the visualization server after analysis
python main.py path/to/binary --serve
# Disable LLM-based analysis
python main.py path/to/binary --no-llm
Troubleshooting
Common Issues
- Missing dependencies: Ensure all requirements are installed with
pip install -r requirements.txt - Decompiler path not found: Update your
config.yamlwith the correct path to your decompiler - LLM API errors: Verify your API key is correct and has sufficient quota
Getting Help
If you encounter issues not covered here, please:
- Check the GitHub Issues
- Join our Discord community
- Contact support at support@re-architect.example.com