Analyze the ROP gadgets in an ELF binary.
Use this module if you need more control, or integration with a larger program. The module Dewdrop provides a simpler way to put together a standalone gadget finder.
Finding gadgets
gadgets :: Elf -> [Gadget]Source
Find possible gadgets.
You can filter these further using
or other tests.
valid
Rejects gadgets which are probably not useful for return-oriented programming. This includes gadgets containing invalid or privileged instructions.
Configuring the gadget finder
Configuration of the gadget finder.
Default configuration of the gadget finder.
gadgetsWith :: Config -> Elf -> [Gadget]Source
Find possible gadgets, using a custom configuration.