pwndbg_smallbins
Print the contents of small bins from a GLibc arena to inspect sorted free chunks by size.
Instructions
Print the contents of an arena's small bins.
pwndbg command: smallbins Source: pwndbg/commands/ptmalloc2.py Category: GLibc ptmalloc2 Heap
Small bins hold chunks from 0x20 to 0x3F0 bytes (64-bit) in doubly-linked lists sorted by size.
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 |