0vercl0k / rp

rp++ is a fast C++ ROP gadget finder for PE/ELF/Mach-O x86/x64/ARM/ARM64 binaries.
MIT License
1.75k stars 250 forks source link

Add an option to allow gadgets w/ branch instruction #32

Closed 0vercl0k closed 2 years ago

0vercl0k commented 2 years ago

One thing that I needed w/ ARM64 is to find a call gadget; rp isn't able to find anything like that because it doesn't allow a branch instruction in a gadget; just the last instruction. Add an option that allows users to override that.