mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
94903d036ee6a912c5ec967ff18601a6c259eff9
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!
Description
Languages
C++
70.7%
Assembly
26%
CMake
1.1%
C
1%
Python
0.7%
Other
0.3%