Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
mnemonicYes
op_strNo
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description partially discloses behavior: it mentions single-stepping, potential slowness, and a default 60s timeout. However, it does not clarify what happens on timeout (e.g., error or break) or other side effects like state changes. The source and category are provided but add limited behavioral insight.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is reasonably concise, front-loading the purpose and then providing parameter details and a link. The inclusion of source path and category is marginally redundant but not excessive. It earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters and an output schema exists (per context signals), the description adequately covers the input semantics. It does not explain return values, but that is acceptable due to the output schema. The link to documentation adds completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description thoroughly explains each parameter in the Args section (session_id as UUID, mnemonic as instruction mnemonic, op_str as optional operand, timeout as max seconds). This adds critical meaning beyond the schema's type and name information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it steps until a specific assembly instruction is reached, using a specific verb and resource. It provides examples of mnemonic matches (syscall, call, mov), making the purpose precise and distinguishable among numerous sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context (e.g., for matching instructions by mnemonic, optional operand, and timeout) but lacks explicit guidance on when to use this tool versus alternatives like pwndbg_stepsyscall or pwndbg_stepover. No when-not-to-use criteria are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Micro-Evaluation-Group/pwndbg-lldb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server