convert binary to VEX IR using the C interface provided by pyvex.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
cmake-build-debug
pyvex
vex
CMakeLists.txt
README.md
bin2vex.c
bin2vex.h
build_pyvex.sh
env.sh
log_busy.out
log_ls.out
main.c
mainconfig.h
utils.c
utils.h

README.md

bin2vex

convert binary to VEX IR using the C interface provided by pyvex.

Compile

  1. build pyvex_c and vex
    ./build_pyvex.sh
  1. build bin2vex
    mkdir build
    
    cd build
    
    cmake ../
    
    make

It will create library libbin2vex.a and executable disbin2vex

Usage

./disbin2vex <raw_binary> [num]

This will disassemble the first num of instructions, and show both the disassembled code and VEX code. If num is not set, it will disassemble all the codes in raw_binary.

NOTE: raw_binary means the pure binary machine code.