acama / xrop

Tool to generate ROP gadgets for ARM, AARCH64, x86, MIPS, PPC, RISCV, SH4 and SPARC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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, mips, riscv, sh4 and sparc.

Build Instructions

cd xrop
git submodule update --init --recursive
make

Changelog

  • v1.2 - macos (apple silicon) support.
  • v1.1 - call gadgets, jmp gadgets, printing instruction opcodes.

Examples

Example output for x86_64 and ARM executables

About

Tool to generate ROP gadgets for ARM, AARCH64, x86, MIPS, PPC, RISCV, SH4 and SPARC


Languages

Language:C 98.1%Language:Makefile 1.9%