https://github.com/angr/angr
A powerful and user-friendly binary analysis platform!
https://github.com/angr/angr
analysis angr binary hacktoberfest
Last synced: 6 months ago
JSON representation
A powerful and user-friendly binary analysis platform!
- Host: GitHub
- URL: https://github.com/angr/angr
- Owner: angr
- License: bsd-2-clause
- Created: 2015-08-06T21:46:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-10T23:07:38.000Z (6 months ago)
- Last Synced: 2025-05-12T00:54:31.252Z (6 months ago)
- Topics: analysis, angr, binary, hacktoberfest
- Language: Python
- Homepage: http://angr.io
- Size: 63.5 MB
- Stars: 7,949
- Watchers: 184
- Forks: 1,107
- Open Issues: 550
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-ctf - Angr - platform-agnostic binary analysis framework. (Reversing)
- awesome-malware-analysis - angr - Platform-agnostic binary analysis (Debugging and Reverse Engineering / Other Resources)
- awesome-rainmana - angr/angr - A powerful and user-friendly binary analysis platform! (Python)
- awesome-ctf-resources - Angr - A powerful and user-friendly binary analysis platform. (Reversing)
- awesome-repositories - angr / angr
- Awesome-Security-Tool-List - Angr
- awesome-embedded-fuzzing - angr
- awesome-embedded-security - Angr - 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. (Software Tools / Disassember/Decompilers)
- fucking-static-analysis - angr
- awesome-guidelines - angr
- dynamic-analysis - angr
- awesome-ctf - Angr - platform-agnostic binary analysis framework. (Reversing)
README
# angr
[](https://pypi.python.org/pypi/angr/)
[](https://pypi.python.org/pypi/angr/)
[](https://pypistats.org/packages/angr)
[](https://github.com/angr/angr/blob/master/LICENSE)
angr is a platform-agnostic binary analysis framework.
It is brought to you by [the Computer Security Lab at UC Santa Barbara](https://seclab.cs.ucsb.edu), [SEFCOM at Arizona State University](https://sefcom.asu.edu), their associated CTF team, [Shellphish](https://shellphish.net), the open source community, and **[@rhelmot](https://github.com/rhelmot)**.
## Project Links
Homepage: https://angr.io
Project repository: https://github.com/angr/angr
Documentation: https://docs.angr.io
API Documentation: https://api.angr.io/en/latest/
## 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](https://docs.angr.io/docs/toplevel) 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.
```python
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
- [Install Instructions](https://docs.angr.io/introductory-errata/install)
- Documentation as [HTML](https://docs.angr.io/) and sources in the angr [Github repository](https://github.com/angr/angr/tree/master/docs)
- Dive right in: [top-level-accessible methods](https://docs.angr.io/core-concepts/toplevel)
- [Examples using angr to solve CTF challenges](https://docs.angr.io/examples).
- [API Reference](https://angr.io/api-doc/)
- [awesome-angr repo](https://github.com/degrigis/awesome-angr)