pwndbg_arena
Examine the malloc arena structure, including top chunk, bins, system_mem, and other metadata. Defaults to current thread's arena; specify address for any arena.
Instructions
Print the contents of a malloc arena.
pwndbg command: arena Source: pwndbg/commands/ptmalloc2.py Category: GLibc ptmalloc2 Heap
Shows the malloc_state structure fields including top chunk, bins, system_mem, and other arena metadata. Defaults to the current thread's arena.
Args: session_id: The UUID of the session. addr: Optional arena address (default: current thread's arena).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/ptmalloc2/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |