Get RE-Architect up and running in minutes with this step-by-step guide.
- Python 3.8 or higher
- Git
- At least 4GB free disk space
git clone https://github.com/pandaadir05/re-architect.git
cd re-architectpip install -r requirements.txt
pip install -e .Choose one or more decompilers and set their paths in config.yaml.
- Ghidra (Recommended, Free): Download here
- IDA Pro (Commercial): Install here
- Binary Ninja (Commercial): Install here
Example config.yaml:
decompiler:
default: ghidra
ghidra:
path: /path/to/ghidra
headless: true
ida:
path: /path/to/ida
binary_ninja:
path: /path/to/binaryninja
analysis:
static:
function_analysis_depth: medium
dynamic:
enable: false
llm:
enable: false
provider: openai
api_key: your_api_key_herepython main.py analyze sample_binary.exe --output ./resultsStart the visualization server:
python -m src.visualization.serverThen open http://localhost:5000 in your browser.
export OPENAI_API_KEY="your_api_key_here"
python main.py sample.exe --generate-tests --servefrom src.core.pipeline import ReversePipeline
from src.core.config import Config
# Load configuration
config = Config.from_file("config.yaml")
# Create pipeline
pipeline = ReversePipeline(config)
# Analyze binary
results = pipeline.analyze("sample.exe")
print(f"Found {len(results['functions'])} functions")| Option | Description | Example |
|---|---|---|
--config |
Specify config file | --config my_config.yaml |
--output |
Set output directory | --output ./analysis |
--decompiler |
Choose decompiler | --decompiler ghidra |
--generate-tests |
Create test harnesses | --generate-tests |
--no-llm |
Disable LLM analysis | --no-llm |
--verbose |
Enable debug output | --verbose |
--serve |
Start web server | --serve |
# 1. Analyze with default settings
python main.py malware.exe --verbose
# 2. Review results
ls output/
# 3. Start web interface
python -m src.visualization.serverDecompiler not found
Check config.yaml paths. For auto-detection:
decompiler:
ghidra:
path: nullNo module named 'src'
pip install -e .Memory errors
python main.py large_binary.exe --no-llmPermission errors
python main.py binary.exe --output ./analysis- Explore examples in
tests/ - Read the User Manual
- Review the API Reference
- Enable LLM features for deeper analysis
- Customize analysis with your own modules
Happy reverse engineering!