Skip to main content

CFG explorer

Project description

cfg-explorer

CFG explorer is a simple utility which can be used to explore control flow graphs of binary programs.

It uses angr binary analysis framework, for CFG recovery, and renders the CFG to SVGs, with the help of bingraphvis.

The generated SVGs can be navigated by clicking on the function or the callsite nodes.

Note

This project is in its very early stage!

Usage

$ python -m cfgexplorer /your/binary -l

The command above will build the CFG, spawn a webserver and open it in your browser (see -h for the options).

Limitations

  • works on Linux only
  • at the moment, the result is simply an SVG file, i plan to add a small frontend around it

Screenshots

Function graph mode (/function/0x123456)

fgraph

CFG mode (/cfg/0x123456)

cfg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfg-explorer-0.0.1.tar.gz (22.9 kB view hashes)

Uploaded Source

Built Distribution

cfg_explorer-0.0.1-py3-none-any.whl (25.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page