angr

功能强大、用户友好的二进制分析平台!「A powerful and user-friendly binary analysis platform!」

Github星跟踪图

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.

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 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

主要指标

概览
名称与所有者angr/angr
主编程语言Python
编程语言Python (语言数: 6)
平台
许可证BSD 2-Clause "Simplified" License
所有者活动
创建于2015-08-06 21:46:55
推送于2025-06-17 20:27:15
最后一次提交2025-06-17 17:51:59
发布数229
最新版本名称v9.2.161 (发布于 2025-06-17 17:08:01)
第一版名称v9.0.4369 (发布于 2020-09-17 19:42:28)
用户参与
星数8k
关注者数183
派生数1.1k
提交数13.5k
已启用问题?
问题数2019
打开的问题数458
拉请求数3147
打开的拉请求数88
关闭的拉请求数264
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?