ropper

Find ROP gadgets in binary files. More information: http://scoding.de/ropper/.

ropper --file path/to/binary

ropper --file path/to/binary --search regex

ropper --file path/to/binary --type rop|job|sys|all

ropper --file path/to/binary --badbytes byte_string

ropper --file path/to/binary --inst-count count