pwndbg_stepuntilasm
Step through execution until a desired assembly instruction (like syscall or call) is matched, with optional operand filter and configurable timeout.
Instructions
Step until a specific assembly instruction is reached.
pwndbg command: stepuntilasm Source: pwndbg/commands/next.py Category: Step/Next/Continue
Single-steps until an instruction matching the given mnemonic (and optionally operand string) is found. This can be slow, so the default timeout is 60s.
Args: session_id: The UUID of the session. mnemonic: The instruction mnemonic to match (e.g. "syscall", "call", "mov"). op_str: Optional operand string to match. timeout: Maximum seconds to wait (default 60).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/next/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| mnemonic | Yes | ||
| op_str | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |