Skip to main content

angr

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

Homepage: https://angr.io

Project repository: https://github.com/angr/angr

Documentation: https://docs.angr.io

API Documentation: https://docs.angr.io/en/latest/api.html

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.

Example

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)


@project.hook(0x400844)
def print_flag(state):
    print("FLAG SHOULD BE:", state.posix.dumps(0))
    project.terminate_execution()


project.execute()

Quick Start

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.3.2.tar.gz (2.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

angr-9.3.2-cp312-abi3-win_amd64.whl (6.7 MB view details)

Uploaded CPython 3.12+Windows x86-64

angr-9.3.2-cp312-abi3-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ x86-64

angr-9.3.2-cp312-abi3-musllinux_1_2_aarch64.whl (8.2 MB view details)

Uploaded CPython 3.12+musllinux: musl 1.2+ ARM64

angr-9.3.2-cp312-abi3-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

angr-9.3.2-cp312-abi3-manylinux_2_28_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

angr-9.3.2-cp312-abi3-macosx_11_0_arm64.whl (6.5 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file angr-9.3.2.tar.gz.

File metadata

  • Download URL: angr-9.3.2.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for angr-9.3.2.tar.gz
Algorithm Hash digest
SHA256 0b4032332a55105daa98620158c9b3edcaefe7f7f862970a56d27dae0658e15f
MD5 76a1e6009da3d6eaae861b9a766f97b8
BLAKE2b-256 c21ff185cc015a24fdde44927f0b1cbabf6a070867a74f12b75dc1d29bb67fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2.tar.gz:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: angr-9.3.2-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for angr-9.3.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 eb07c2abf8e0747a3aab6ba7f97f8e323b7c50347929d1023b4114059f4bccc2
MD5 09365e02b6faabb37b93dd1bdfe9e738
BLAKE2b-256 5c1226e9e73c304a769881a5fc147c77dbf3f949f578bd28a5173fe8037f0d57

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-win_amd64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: angr-9.3.2-cp312-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: CPython 3.12+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for angr-9.3.2-cp312-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2f85b0e116321f172a05af7352933b817a713c70f9f50265004a9e4aaed019de
MD5 ebfe6b160100c1d6e160e76052feba58
BLAKE2b-256 ee2b73afd262de2067a2c6af6b25c38887e18434b24c5dc1cda9ac321527b490

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-musllinux_1_2_x86_64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.3.2-cp312-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 57016adeed18570a710c92fbad040cd1a833bcaf92f237c9333bbfaff73556da
MD5 1e9234e145c4a723623eaddb9f41e964
BLAKE2b-256 84cba506bed9538b4b512b545241301fbb019c2c9c9ca62eb5dd7a53ac441c41

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-musllinux_1_2_aarch64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for angr-9.3.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b3ad4f4548f3a9405f7f5a21e35908c99b3a346440183a7e7f9d73c57e2bce1
MD5 98ca12bbdc4b2876bf66ff0f082ca069
BLAKE2b-256 09391b981068f134c689afa41ad531e59d057b10e14a23c64ceee0770b087596

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.3.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5811c91cf804ac6e42f0f59718f9d3767bf2922f32a854fd9427251199716f6b
MD5 9b16072cd95739a68f874d439a7ea7be
BLAKE2b-256 c35ebeff50296772c328fd5756edbd21cdcc42c0a8496ba5a25a12d36edfae26

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-manylinux_2_28_aarch64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file angr-9.3.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: angr-9.3.2-cp312-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: CPython 3.12+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for angr-9.3.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc04075b6f31876b77c0e2d8d1e9c7e49a18dd9f8798a64d898b9737bd97ddfd
MD5 a0234fa5c9943be4a401f844adb0df9c
BLAKE2b-256 b8e53ee0b08b50d0426bacb2baa8301f494c2c5799f689cecf287b7d7cc95f19

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.3.2-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

9.3.2

Supported by

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