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/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | No | ||
| count | No | ||
| code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |