Skip to content

Angr Backend

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:

ofrak = OFRAK(logging.INFO)
ofrak.injector.discover(ofrak_angr)
ofrak.injector.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