pwndbg_pid
Retrieves the process ID (PID) of the debugged process in a pwndbg session. Provide the session ID to obtain the current PID.
Instructions
Get the PID of the running process.
pwndbg command: pid (alias: getpid) Source: pwndbg/commands/procinfo.py Category: Process
Args: session_id: The UUID of the session.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/procinfo/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |