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/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |