Skip to main content

A multi-architecture binary analysis toolkit, with the ability to perform dynamic symbolic execution and various static analyses on binaries

Project description


Latest Release Python Version PyPI Statistics License

angr is a platform-agnostic binary analysis framework. It is brought to you by the Computer Security Lab at UC Santa Barbara, SEFCOM at Arizona State University, their associated CTF team, Shellphish, the open source community, and @rhelmot.

Project Links


Project repository:


API Documentation:

What is angr?

angr is a suite of Python 3 libraries that let you load a binary and do a lot of cool things to it:

  • Disassembly and intermediate-representation lifting
  • Program instrumentation
  • Symbolic execution
  • Control-flow analysis
  • Data-dependency analysis
  • Value-set analysis (VSA)
  • Decompilation

The most common angr operation is loading a binary: p = angr.Project('/bin/bash') If you do this in an enhanced REPL like IPython, you can use tab-autocomplete to browse the top-level-accessible methods and their docstrings.

The short version of "how to install angr" is mkvirtualenv --python=$(which python3) angr && python -m pip install angr.


angr does a lot of binary analysis stuff. To get you started, here's a simple example of using symbolic execution to get a flag in a CTF challenge.

import angr

project = angr.Project("angr-doc/examples/defcamp_r100/r100", auto_load_libs=False)

def print_flag(state):
    print("FLAG SHOULD BE:", state.posix.dumps(0))


Quick Start

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

angr-9.2.111.tar.gz (3.0 MB view hashes)

Uploaded Source

Built Distributions

angr-9.2.111-py3-none-win_amd64.whl (9.0 MB view hashes)

Uploaded Python 3 Windows x86-64

angr-9.2.111-py3-none-manylinux2014_x86_64.whl (11.4 MB view hashes)

Uploaded Python 3

angr-9.2.111-py3-none-manylinux2014_aarch64.whl (11.0 MB view hashes)

Uploaded Python 3

angr-9.2.111-py3-none-macosx_11_0_arm64.whl (8.6 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

angr-9.2.111-py3-none-macosx_10_9_x86_64.whl (9.5 MB view hashes)

Uploaded Python 3 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page