Skip to content

Public release of the tools used to assist in gadget finding.

Notifications You must be signed in to change notification settings

thomasnyman/DOP-StaticAssist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Public release of the tools used to assist in gadget finding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.3%
  • Makefile 3.7%
  • CMake 1.0%