Skip to content
/ xrop Public
forked from acama/xrop

Tool to generate ROP gadgets for ARM, x86, MIPS and PPC

Notifications You must be signed in to change notification settings

codercold/xrop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xrop

xrop is a simple tool to generate ROP gadgets. It supports PE, ELF, Mach-O and perhaps other executable formats. It uses the libxdisasm library and currently supports generating ROP gadgets for x86, x86_64, arm, ppc and mips.

Build Instructions:

Quick way

If you are on a 64-bit Linux machine and don't feel like building binutils from source, I have included the static libraries needed for the tool to compile. You can build the tool with:

make withstatic

Longer way

First Build binutils with the appropriate flags. You can get the source from http://ftp.gnu.org/gnu/binutils/. By default binutils will install the shared libraries in /usr/local/lib. If this is not in your library path you might run into some issues. Run the following commands in the directory where you extracted the binutils archive.

./configure --enable-targets=all --enable-shared
make
sudo make install

Then you can build xrop. From the top level directory, run the following command:

make

Examples:

Example output for x86_64 and ARM executables

About

Tool to generate ROP gadgets for ARM, x86, MIPS and PPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published