pwndbg_envp
Print environment variables of the running program to inspect process context. Optionally specify a variable name to retrieve a specific value.
Instructions
Print environment variables of the running program.
pwndbg command: envp (aliases: env, environ) Source: pwndbg/commands/argv.py Category: Linux/libc/ELF
Args: session_id: The UUID of the session. name: Optional specific environment variable name.
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_envp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |