rp

Find ROP gadget sequences in PE/ELF/Mach-O x86/x64 binaries

brewmacoslinux
Try with needOr install directly
Source

About

Tool to find ROP sequences in PE/Elf/Mach-O x86/x64 binaries

Commands

rp

Examples

Search for ROP gadgets in a binary file$ rp -f /path/to/binary
Find ROP gadgets with specific instruction pattern$ rp -f /path/to/binary --search 'pop rdi; ret'
Display ROP gadgets with address offsets$ rp -f /path/to/binary --va