pwndbg_valist
Retrieve and display arguments from a va_list structure at a given memory address, with an optional count limit for inspecting variadic function calls.
Instructions
Dump the arguments of a va_list (variadic argument list).
pwndbg command: valist Source: pwndbg/commands/valist.py Category: Misc
Args: session_id: The UUID of the session. addr: Address of the va_list structure. count: Number of arguments to dump (default: 8).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/valist/
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>",
"addr": "<addr>"
},
"name": "pwndbg_valist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | Yes | ||
| count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |