Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Handy utilities for the angr binary analysis framework, most notably CFG visualization

License

NotificationsYou must be signed in to change notification settings

axt/angr-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angr-utils is a collection of utilities forangr binary analysis framework.

Note

Visualisation for various graphs (currently supported: CFG, CG; planned: DFG, CDG, DDG) has been moved tobingraphvis.

The API of the facade functions invisualize.py are considered stable (except marked otherwise in comment), and should not break between releases, although they provide only a limited subset ofbingraphvis functionalities.

This tool is not designed to support interactive CFGs. For full interactivity, check outangr-management, for navigable static CFGs check outcfg-explorer.

Main functionality

  • CFG visualisation
  • Pretty printers
  • Utility functions

Install

cd angr-devgit clone https://github.com/axt/bingraphvispip install -e ./bingraphvisgit clone https://github.com/axt/angr-utilspip install -e ./angr-utils

Usage

Seeexamples for more details.

Plot fancy cfg-s:

importangrfromangrutilsimport*proj=angr.Project("<...>/ais3_crackme",load_options={'auto_load_libs':False})main=proj.loader.main_object.get_symbol("main")start_state=proj.factory.blank_state(addr=main.rebased_addr)cfg=proj.analyses.CFGEmulated(fail_fast=True,starts=[main.rebased_addr],initial_state=start_state)plot_cfg(cfg,"ais3_cfg",asminst=True,remove_imports=True,remove_path_terminator=True)

cfg

About

Handy utilities for the angr binary analysis framework, most notably CFG visualization

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp