pwndbg_argv
Prints the argument vector (argv) of the running program. Optionally specify an index to display a single argument.
Instructions
Print the argument vector (argv) of the running program.
pwndbg command: argv Source: pwndbg/commands/argv.py Category: Linux/libc/ELF
Args: session_id: The UUID of the session. index: Optional specific argv index to print.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/argv/
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_argv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |