Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 821 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 821 Bytes

Install

  1. compile LLVM 3.5 following http://llvm.org/docs/GettingStarted.html

  2. copy DOPModule in Custom folder into LLVM_PATH/lib

  3. add folder DOPModule into the CMakeLists.txt in LLVM_PATH/lib

    add_subdirectory(DOPModule)

  4. run cmake;make in your build folder

Usage:

/path/to/opt -load /path/to/LLVMDOPModule.so -dop-module /path/to/LLVM_IR_FILE 

optional arguments:

-dyn-dop <file>:
    dynamic assist takes in a file of lines containing
    <function name> <line no>
    it will check if line number in the function is contained within a loop,
    if yes, it will search for gadgets within it.

-function-list <file>:
    takes in a path to the file containing functions to track

-details 
    will print the detailed information about the gadgets