pwndbg_vis_heap_chunks
Visualize GLibc heap chunks as a color-coded map showing chunk boundaries, headers, and data for efficient heap analysis.
Instructions
Visualize heap chunks with a colorful graphical representation.
pwndbg command: vis_heap_chunks (alias: vis) Source: pwndbg/commands/ptmalloc2.py Category: GLibc ptmalloc2 Heap
Renders heap chunks as a visual map with color-coded regions showing chunk boundaries, headers, and data. One of pwndbg's most distinctive features for heap analysis.
Args: session_id: The UUID of the session. addr: Optional starting address.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/ptmalloc2/
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_vis_heap_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |