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.213.tar.gz (4.2 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.213-cp314-cp314-win_amd64.whl (7.8 MB view details)

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

angr-9.2.213-cp314-cp314-manylinux_2_28_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

angr-9.2.213-cp313-cp313-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.13Windows x86-64

angr-9.2.213-cp313-cp313-manylinux_2_28_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

angr-9.2.213-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.213-cp313-cp313-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

angr-9.2.213-cp312-cp312-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.12Windows x86-64

angr-9.2.213-cp312-cp312-manylinux_2_28_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

angr-9.2.213-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.213-cp312-cp312-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

angr-9.2.213-cp311-cp311-win_amd64.whl (7.7 MB view details)

Uploaded CPython 3.11Windows x86-64

angr-9.2.213-cp311-cp311-manylinux_2_28_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

angr-9.2.213-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.213-cp311-cp311-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

angr-9.2.213-cp310-cp310-manylinux_2_28_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

angr-9.2.213-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.213-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.213.tar.gz.

File metadata

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

File hashes

Hashes for angr-9.2.213.tar.gz
Algorithm Hash digest
SHA256 773ca0912107f64332ae0d98676300c03d3df79b7d507bbb223c65d076505c93
MD5 e091131f9df7467ee5a40ac88a51829f
BLAKE2b-256 32ccfc2c05157b0d7d65b919f33ceba47a3e324a4bc965bf9fea0283c4b2de93

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for angr-9.2.213-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3dc7f8c51cb4dd485a6bb52c57d70eda32aca870e1c09264d675ea4b0d752b75
MD5 7c9aca0fdea4df00894be51349f7d36e
BLAKE2b-256 65d48adbf8b61537108747a8f7a99fc63f46877c6aaa130820f9aa9687c5b4c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dad1d2295707dfe7a65488e74be215b161c6477d4c7a79dc8a0e7d7ea95a5962
MD5 bb8033ad5d76ac4ebd501cb056ad5e05
BLAKE2b-256 5c161c714c70a8dd76b34a823867d2275c6212b6bcb2ebe0e91b42ee1e2f1428

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 84eba777ac7e551d76cbe6b1a454a76412aeff58f41c1d5b126a145fd095d3ac
MD5 95dde64b6fb30f438ef2654967dc4a42
BLAKE2b-256 bff429ef028f96bc9b11346bd42171c495843af549735dfcf9390e4128b24f55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 009eeeb6fb04d3aa9f9565272c468e1237b1f296a01af4b3d4d70cf561b78042
MD5 c225ebff134d0a31d4e140c08fd864be
BLAKE2b-256 113392443a84ac01fb14443fb5720dfe20518318e91c4e7fa8ebc268d1b6541f

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp313-cp313-win_amd64.whl.

File metadata

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

File hashes

Hashes for angr-9.2.213-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 182b8c9a1581165475a10f781626a428ae0f5187867bcdfa10042e0989db1acb
MD5 b200febdc5c8b8029d4df9c3455adfb4
BLAKE2b-256 ad779c61d46dab818ce7d28686fd5d450fb9a73f49bc7e3f951227cf4af95ec2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e3070f290bc05a53c0c71f6a7427d08df77360f83df47b81de741a513c734672
MD5 0f56923c2f1c2a26443847aa1af83906
BLAKE2b-256 8f706fb0cd44a772b03e9bac6844a0d8158f7068d466b6b95f9efc22b433c82e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52ec87fa1610034e62f64d06330b4be53e70e5afa788beb5f55c6f6313895af4
MD5 b3f44b76e1adc2152c67fbcba5a8ee66
BLAKE2b-256 3f2250ef14c4a06a48122f470b06db855e2314c056bd126f4ad4ecf4c4487400

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.213-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 51641475e6a48d481a2da46ef88a529f4813070a75b2d9c674de2e8de3187d89
MD5 7b806bdedee20e350c58ef8ca542e951
BLAKE2b-256 d0688d10c73f04c36e4f3f04040ad7af9a360d9587ac0527649828ae3ac22f52

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp312-cp312-win_amd64.whl.

File metadata

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

File hashes

Hashes for angr-9.2.213-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2c48a358bc76a23849e26b2dc2beac0e6b46d4239c557c6cff98cacd4d1b5e15
MD5 d5c0bc771a6968a87bfd274f7893412c
BLAKE2b-256 b171ef902f3671e63f9b4efe84da4970294b540c09d02b18d10c17ee52b55d99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f3a7cd46ff4ba0e8766982bff855bb7d18c6bce012f6a935c7500596e896a85f
MD5 5b915746c1afad3828f6ff44996b2235
BLAKE2b-256 ae0d7faee597610f0b7e08b116c9b151c9ebe3586134e44510f6d0a85e317c4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7040026df0f4246a32bfd3c345c811aec95957ed1126e6330314b6706004bb78
MD5 552b1c4ba2104049b90aa05034204a73
BLAKE2b-256 dc1f2e2039917cb32e7ca242951b610dddf06a0650c31ff79e8bdd76d1d6f1ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.213-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69556bab7245c154fcbf26e476b4d293c40623f5c2a0b6abe9d1ba7cff745a39
MD5 b7b054d3a90faf352e2d49ef9446a496
BLAKE2b-256 25d0edf423e6a3a345a3f63aa751e675ad1026e0e2da47e5fbc62b5139dac764

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp311-cp311-win_amd64.whl.

File metadata

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

File hashes

Hashes for angr-9.2.213-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 300a01dd2c1bce1a783037802ecae7c275afe3cdb3b6adad13a7d11a349e09ab
MD5 564bcad36689d88b3730536570069f79
BLAKE2b-256 c6c4c1804ad1fe03aea6c23463914335dd46fe9400edbd407cce141817a24415

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 44a0f05e9ea1befd22499564e9ea1256ed1055efbf048f43efb64d883b73d832
MD5 187c0159c63ba43e297cc8785afa0815
BLAKE2b-256 623e5d7b464fb7f80255ff582542ea14d4ed117b6b0603b616c7f111299bd631

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7f81986c8143d867afd7df921aa0a35cdced33dfb0908a3748ed3c4993984db
MD5 fa9cdaf2e0d724a69ea6eea88d185d89
BLAKE2b-256 a771173db43708c7dc98e486d7c9f1b6b88fbf209860e39e27ab6f5d0a303a59

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.213-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 62ea6ee0d3b5712684c53057bbf852af7fefd6ca78251fa5afbff99eef447bfa
MD5 ef505cc5dabc02e65a612eb6d9c3dd8b
BLAKE2b-256 7543a7393000db083fb8a8edbdecc4fcaa9f7463c695e8f886a20a1001581cef

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: angr-9.2.213-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.13

File hashes

Hashes for angr-9.2.213-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ad0c1ddc747bf7dac09e408445a0e23b05e39e337f762740097825104ed1d559
MD5 edc0354f53ca181f3dd1d4c8185e4688
BLAKE2b-256 5e7db2f6e6aa6c6b144c5b07f6b5da1a2bce5b5589cc87560c2f2c923992abde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5e083b55e421c495d207005095ede50c556d9e22814336afa094095a67a866d6
MD5 7eaf46df2d91084511037f3d24fc5823
BLAKE2b-256 cdd7f4f3df0181b0e0a96beb35a981244b2d84e82874f5414229a05815c985f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for angr-9.2.213-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eeb1f52d5e3e4476828fa90777fb33e4925c48677dcd9d5c7e793b02d9b1c1bf
MD5 3f6f28d1b99d520e21c85e5b70ebdc04
BLAKE2b-256 31283f64405ac77360220bc4939dff1ae0fbf52d172e63a0537f8c5c56732ba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for angr-9.2.213-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.213-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for angr-9.2.213-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83a7f554277cff4c43ee62299f778dae41552d350b07a0ed87004b827cad3858
MD5 748dcf7786f531f9bcb2e94ab7c38a18
BLAKE2b-256 385ffb0e56cb0c03ee5a6bb14f4495dc455722a163111ea04a3c1f456effa00a

See more details on using hashes here.

Provenance

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