pwndbg_stack
Display stack contents with telescoping dereference, showing pointer chains and values relative to the stack pointer.
Instructions
Show stack contents using telescope-style dereference display.
pwndbg command: stack Source: pwndbg/commands/telescope.py Category: Stack
Equivalent to telescope $sp with extra stack-aware formatting.
Args: session_id: The UUID of the session. count: Number of entries to show (default: 8). offset: Offset from $sp in pointer-sized units.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/telescope/
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_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| count | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |