search_rop_gadgets
Search a binary for ROP gadgets, filtering by instruction constraints (e.g., 'pop rdi') and max gadget length to build ROP chains.
Instructions
Search for ROP gadgets in the binary matching optional instruction constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return | |
| query | No | Instruction filter (e.g. "pop rdi") to match specific gadgets | |
| offset | No | Pagination offset (0-based) | |
| max_length | No | Maximum number of instructions per gadget | |
| binary_path | Yes | Absolute path to the binary file |