pwndbg_largebins
Print the contents of an arena's large bins to inspect heap chunks sorted by size in doubly-linked lists, ideal for glibc ptmalloc2 heap analysis.
Instructions
Print the contents of an arena's large bins.
pwndbg command: largebins Source: pwndbg/commands/ptmalloc2.py Category: GLibc ptmalloc2 Heap
Large bins hold chunks >= 0x400 bytes (64-bit) in doubly-linked lists sorted by size within each bin.
Args: session_id: The UUID of the session. addr: Optional arena address. verbose: If True, show extended details.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/ptmalloc2/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | No | ||
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |