pwndbg_dt
Inspect struct/type fields, offsets, and sizes. Optionally overlay on a memory address to read and display actual values for each field.
Instructions
Dump type information, optionally overlaid on a memory address.
pwndbg command: dt Source: pwndbg/commands/dt.py Category: Misc
Displays the fields, offsets, and sizes of a struct/type. If an address is provided, reads the memory at that address and displays actual values for each field.
Args: session_id: The UUID of the session. typename: The type name to inspect (e.g. "struct malloc_chunk"). address: Optional memory address to overlay the type onto.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/dt/
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>",
"typename": "<typename>"
},
"name": "pwndbg_dt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| typename | Yes | ||
| address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |