pwndbg_patch_revert
Revert a patch at a given memory address, restoring original bytes during debugging.
Instructions
Revert a patch at the given address.
pwndbg command: patch-revert Source: pwndbg/commands/patch.py Category: Misc
Args: session_id: The UUID of the session. address: Address of the patch to revert.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/patch/
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>",
"address": "<address>"
},
"name": "pwndbg_patch_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |