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

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

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.209.tar.gz (4.1 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.2.209-cp314-cp314-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.14Windows x86-64

angr-9.2.209-cp314-cp314-musllinux_1_2_aarch64.whl (8.9 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

angr-9.2.209-cp314-cp314-manylinux_2_28_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

angr-9.2.209-cp314-cp314-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

angr-9.2.209-cp313-cp313-win_amd64.whl (7.6 MB view details)

Uploaded CPython 3.13Windows x86-64

angr-9.2.209-cp313-cp313-manylinux_2_28_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

angr-9.2.209-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

angr-9.2.209-cp313-cp313-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

angr-9.2.209-cp312-cp312-win_amd64.whl (7.6 MB view details)

Uploaded CPython 3.12Windows x86-64

angr-9.2.209-cp312-cp312-manylinux_2_28_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

angr-9.2.209-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

angr-9.2.209-cp312-cp312-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

angr-9.2.209-cp311-cp311-win_amd64.whl (7.6 MB view details)

Uploaded CPython 3.11Windows x86-64

angr-9.2.209-cp311-cp311-manylinux_2_28_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

angr-9.2.209-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

angr-9.2.209-cp311-cp311-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

angr-9.2.209-cp310-cp310-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.10Windows x86-64

angr-9.2.209-cp310-cp310-manylinux_2_28_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

angr-9.2.209-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

angr-9.2.209-cp310-cp310-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: angr-9.2.209.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209.tar.gz
Algorithm Hash digest
SHA256 032c7f59f8f9f9ed9cb109c8901f144cd99ab2c6e97beb1a9cd7510e699f6de3
MD5 911f61e6171835357d519c84e887195f
BLAKE2b-256 64352d5fcee20a88aa16ead5a2fae826d69fb6faea7398b99a63b6cb596e5edf

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209.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.2.209-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.209-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 cecbf693dd1407a2c2b724fd4bedf871bac31fbfedb2a606ba979e93a8bfa15a
MD5 6506c2bbaab31a9b94431a705a59e9c3
BLAKE2b-256 9fc90f7dee0bcc849a6ca2557b49f0111ff9fae877d5a3d80d01202a38c9f441

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp314-cp314-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.2.209-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f228fc6d8f4685f9ad28f8e0b1cea9910518dc564c66e24c9488fa177d7e56a3
MD5 b7b9c55afa69347ff5213584777be38e
BLAKE2b-256 d0bf1b264f31be6870631260b653f7c6f30c278dc70ba2dd265b65c34931938c

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp314-cp314-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.2.209-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7f2e4bd4121dc4f4b8c7f6f778c099aac36e0a061fede179c2b8d505560da218
MD5 496192a1f9b3dad8f3d865a6005efc4a
BLAKE2b-256 09a8abadfbe96373fcc5257d5ba70e2d399b06ba83cccb649a0c5ca4b926b59b

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp314-cp314-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.2.209-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 714d4c37ba9860e1b864b0568040772d0ebbeb462c7f81f30179e392b5c297d2
MD5 05c0546f2c499e25b3627a9474a0c8b7
BLAKE2b-256 8a42656e4b8d0c94af259f5eb661a57ead21ba0208e87dd75fe08e8dc90d2d47

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp314-cp314-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.

File details

Details for the file angr-9.2.209-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.209-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f6785ec095bf8b8014b0c7c5e8d2df15866c9709159745b8b4a6eac34686b00a
MD5 eefa2e8a5fcdefea44ec41ef528a3db0
BLAKE2b-256 584b284609e168fa8e812e56109a6db96587a97f27880f9291d5f8905acc919b

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp313-cp313-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.2.209-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50c1ff89e7ffafafccf0503a52681ca27068fb61941f27cf76895eddfade678d
MD5 b11d6aba04056c2d80ee957b5395ad79
BLAKE2b-256 efa22cdf2d8f72ffdb9597f2ac6067e384b7bcb78761ac60caa02d37d58accba

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp313-cp313-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.2.209-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35f065a933120ffd5537d040605bc90d9e3357a317a1d7cd9befec563ce1918e
MD5 17b4cac9042e9f3694bd3b3567cc659a
BLAKE2b-256 500a420476f30b1183eea762c2fc2a59871a0e0bcfbc543db368646719100ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_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.2.209-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ac8dfb16ad24b05b871a268ecddab21a1ef13dcaba7800bdff6e00e8b72f65a
MD5 8e31a0fcf03d20cb454c916ed8c21f0e
BLAKE2b-256 b20a4b89130d380317ee25c84133c915b21c9c6292255289edcbbb8a698f72d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp313-cp313-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.

File details

Details for the file angr-9.2.209-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.209-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d7c453da984da4bc1b907f6b5e32147ced8771a25272a2d2b834243ebc1dcd05
MD5 18f067b317e2cd3b44a22150f4ae97ab
BLAKE2b-256 284708c4a77cfc31235d22e91681a04c870ce7e1f28e8cea46a0413d657f148d

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp312-cp312-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.2.209-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fe3f15eba5d1de91340de40424b05b9c63c517b72f6b83dc8be39378f208ee9c
MD5 30f24114895a53f059158e21c1b5ec60
BLAKE2b-256 44efa33fb4705a2287324c0b4563badd5311a6f3ef60fe4005229963a5d76e9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp312-cp312-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.2.209-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fed71007dfc74e7d263ef986b4315adb514a1a81d192d794cabea63ea781187
MD5 9debb93739417cd0bd07173f01fb9ac2
BLAKE2b-256 4f2e4131af899744c8698f971b04f2d447d60b3a003edcbc16641dd2a6866912

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_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.2.209-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 027a8821c2efd09a20186700a3ccade7f383cdebd390797155a35aa22ae0e7d2
MD5 19b1ffae6a9cb8e522cf910922cbf2c4
BLAKE2b-256 df51d3b1204f9d7a3c7e16b3d87e5a5055d5613554316e8a3d8566a33f5785d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp312-cp312-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.

File details

Details for the file angr-9.2.209-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.209-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3f605ebc4eee59d4f84ec3e83f23ddacb3662c7a897b7ef1eeeaa7bedc27849a
MD5 b44a7c65e61eda08c10aa009aa541e60
BLAKE2b-256 b6d19ee022820bb49f2f1b55f2852dfdd62e36819d32416b5ccc54689756c7dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp311-cp311-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.2.209-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f7545954644dcf3529151b4dfd9a67ef7aa7523984a69442d017ef9a5dd488de
MD5 04eb76c3f05ca8ad213e16084bbd64e8
BLAKE2b-256 bef890e4d9a0da969fb13a3b3abaa0e98121c33d7c02ea5d71b39775b1aece57

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp311-cp311-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.2.209-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63a2627c5ec14f7e79e7af11be77cf4838b435235dfe49bccba9747818ada6b6
MD5 d8cccf3c127e3cd421ec58bed9d1670f
BLAKE2b-256 e4de6e53b0c513ef2ebe3e18f2ff1d983620e845140824f6f3fdb104c7c03809

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_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.2.209-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb3ebf961e0dd4300a43032291c74b70c5d6720ae94a5e887800b6cb5867af1c
MD5 b730a8fd3897be45d03f573aa21bd058
BLAKE2b-256 b7fe8bbeefca3dcd6e38b356d0ebd715c12f7464785d0e7ddae9b9cdd676e416

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp311-cp311-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.

File details

Details for the file angr-9.2.209-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.209-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for angr-9.2.209-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 db220f6b181f0a2eeca5918c1318ec0935ee3deb7bf7c85220c89a44fa656ad4
MD5 d2a71c6247b465c7324cb769d2eaae4d
BLAKE2b-256 05dd17b19145693cbabbfea46e9eefefcab0a25c00a93c680df07eabf74ac618

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp310-cp310-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.2.209-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 448a354f9f2dc0f210f5a3b1e83867cb4f4a3975ac92b430df3a141fefeab2a7
MD5 0083b32d17e08fd0fe534a6388daf333
BLAKE2b-256 a430de1368be9b51dfa40925a65c4739f0104ee651e16a338547486ecc2d9fc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp310-cp310-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.2.209-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a1b486c84e267fb8715c41a7dc901f269743ca86e171797c229ef967915598d
MD5 bf5afc670099542401ca99f25855b218
BLAKE2b-256 78e5f315ae673906acd5993cc6bf5360f2e9e57952b5b1528f6956a61440aa65

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_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.2.209-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.209-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93fcf8482fe367a7984ac562de97f7ad02eaa4972f40c2fb887944d0391ef2fb
MD5 815aa3f387b9676320634cf5e47c8898
BLAKE2b-256 0db183c8bbbab28e2552d6e01cdc1cb8dcc3659e49b6616b6d12dfc4a9795884

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.209-cp310-cp310-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.

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