pwndbg_emulate
Emulate instructions to predict register and memory states. View the resulting values without actual execution.
Instructions
Disassemble with instruction emulation to predict register/memory state.
pwndbg command: emulate Source: pwndbg/commands/nearpc.py Category: Disassemble
Like nearpc but with emulation enabled by default. Shows what registers and memory values would be after each instruction executes, without actually executing them.
Args: session_id: The UUID of the session. address: Address to start emulation (default: $pc). lines: Number of instructions to emulate.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/nearpc/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| address | No | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |