pwndbg_hexdump
Display memory at a given address in canonical hex+ASCII format, similar to xxd. Specify address, byte count, and optional output format.
Instructions
Hex dump memory at the specified address.
pwndbg command: hexdump Source: pwndbg/commands/hexdump.py Category: Memory
Shows memory in canonical hex+ASCII format, similar to xxd/hexdump.
Args: session_id: The UUID of the session. address: Address or register to dump from (default: $sp). count: Number of bytes to dump. code: Output format — "py" for Python bytes literal, "c" for C array.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/hexdump/
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_hexdump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | No | ||
| count | No | ||
| code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |