pwndbg_rop
Search for ROP gadgets in the loaded binary using ROPgadget. Optionally filter gadgets with a regex to find specific instructions.
Instructions
Find ROP gadgets using ROPgadget.
pwndbg command: rop (alias: ropgadget) Source: pwndbg/commands/rop.py Category: Integrations
Searches the loaded binary for useful ROP gadgets. Requires ROPgadget to be installed.
Args: session_id: The UUID of the session. grep: Optional regex to filter gadgets.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/rop/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| grep | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |