2015-10-22 11:18:58 -04:00
2015-10-22 11:17:47 -04:00
2015-10-22 11:17:47 -04:00
2015-10-22 11:18:58 -04:00
2015-10-22 11:17:47 -04:00
2015-10-22 11:17:47 -04:00
2015-10-22 09:54:19 -04:00
2015-10-22 11:18:58 -04:00

mcsema2

Setup

./bootstrap.sh

Example

First, extract the control-flow graph information from your binary.

./scripts/ida_get_cfg.sh /path/to/binary

This script will tell you where it puts the CFG. For example, it might output something like /tmp/tmp.E3RWcczulG.cfg.

Lets assume that /path/to/binary is a 64-bit ELF file. Now you can do the following:

./build/cfg_to_bc --arch=x86 --os=linux --bc_out=/tmp/out.bc --cfg=/tmp/tmp.E3RWcczulG.cfg

Great! Now you have a massive bitcode file. Enjoy!

S
Description
Automated archival mirror of github.com/lifting-bits/remill
Readme 16 MiB
Languages
C++ 70.7%
Assembly 26%
CMake 1.1%
C 1%
Python 0.7%
Other 0.3%