Skip to content

Forensics Project: Generation of thumbnails for CFG of functions from binary files.

Notifications You must be signed in to change notification settings

KammLote/CFG_Thumbnails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph CFG thumbnails

Quentin Husson - Louis Galland

Forensic - Project B3


This tool generates thumbnails for CFG of functions from binary files.

It takes all function of a binary executable and generates their CFG in 10x10cm in .PNG format. It is based on radare2 and Graphviz.

Installation

The installation is really simple, with few dependencies:

apt install radare2 graphviz imagemagick

Usage

To graph all functions' CFG:

./bincfg.sh -n BINARY_PATH -F

Thumbnails will be saved in ./BINARY_PATH_CFG/.


Others features:

./bincfg.sh -h # Display the help
./bincfg.sh -n BINARY_PATH -c # Graph the global CFG of the binary
./bincfg.sh -n BINARY_PATH -l # List all functions of the binary
./bincfg.sh -n BINARY_PATH -f function_name # Graph the CFG of a specific function

Screenshot

Here is a screenshot of thumbnails for a tiny binary:

Screenshot of the output thumbnails

About

Forensics Project: Generation of thumbnails for CFG of functions from binary files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages