Skip to content

jbaviat/llvm-rop

Repository files navigation

LLVM ROP Gadget generator POC

Tiny llvm-objdump patch which list gadgets found in a binary.

If you are looking for:

  • a gadget generator: please find something else.
  • an LLVM's hack example: please keep reading.

Compilation

Prepare your LLVM environment for compilation, then:

$ cd llvm/tools
$ git clone <this repo> 

Then build LLVM as usual.

Usage

$ llvm-rop /path/to/my/binary

Note

For fat MachO binaries, use lipo to thin them to a single architecture MachO file:

$ lipo -thin x86_64 /Applications/iTunes.app/Contents/MacOS/iTunes -output /tmp/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages