Angr Backend

October 21, 2025 ยท View on GitHub

Install

PyPI

angr and the OFRAK components that use it can be installed with:

pip install ofrak_angr

An OFRAK container with the angr backend can be built with:

python3 build_image.py --config ofrak-angr.yml --base --finish

Usage

To use angr, you need to discover the components at setup-time with:

from ofrak import OFRAK
import ofrak_angr
import ofrak_capstone

ofrak = OFRAK()
ofrak.discover(ofrak_angr)
ofrak.discover(ofrak_capstone)

Note that the angr backend is designed to be used in conjunction with the Capstone backend, which implements BasicBlockUnpacker.

!!! warning You can only use one of these analysis backends at a time (angr OR Binary Ninja OR Ghidra)

Angr auto-analysis

Using angr auto-analysis is transparent after the components are discovered, you don't have to do anything!

Documentation

Angr User Documentation