ROPgadget tool lets you search your gadgets on your binaries to facilitate your ROP exploitation. ROPgadget supports ELF/PE/Mach-O format on x86, x64, ARM, ARM64, PowerPC, SPARC, and MIPS architectures. Since version 5, ROPgadget has a new core written in Python using the Capstone disassembly framework for the gadgets search engine.
Source code and additional information can be found here: https://github.com/JonathanSalwan/ROPgadget