pwndbg_bins
Display all bin types (fast, small, large, unsorted, tcache) in the ptmalloc2 heap allocator for analysis.
Instructions
Print all bin contents — fast, small, large, unsorted, and tcache.
pwndbg command: bins Source: pwndbg/commands/ptmalloc2.py Category: GLibc ptmalloc2 Heap
Displays a unified view of all bin types in the ptmalloc2 allocator.
Args: session_id: The UUID of the session. addr: Optional arena address. tcache_addr: Optional tcache 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_bins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | No | ||
| tcache_addr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |