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/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "pwndbg_rop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| grep | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |