ropper
Find ROP gadgets in binary files. tldr-pages
On several platforms
Several platforms
List gadgets in the binary file
ropper --file path/to/binaryIdentifyFilter gadgets in the binary file by a regex
ropper --file path/to/binary --search regexIdentifyList gadgets of specified type in the binary file
ropper --file path/to/binary --type ropIdentifyExclude bad byte gadgets in the binary file
ropper --file path/to/binary --badbytes byte_stringIdentifyList gadgets up to the specified instruction count in the binary file
ropper --file path/to/binary --inst-count countIdentify