Skip to main content
Glama

pwndbg_probeleak

Scans memory addresses for pointer-like values that may indicate exploitable information leaks in stack, heap, libc, or binary regions.

Instructions

Pointer-scan memory for possible information leaks.

pwndbg command: probeleak Source: pwndbg/commands/probeleak.py Category: Memory

Scans memory at the given address for values that look like pointers into known regions (stack, heap, libc, binary, etc.), which could indicate exploitable information leaks.

Args: session_id: The UUID of the session. address: Address to start scanning (default: $sp). count: Number of bytes to scan (default: 0x40). max_distance: Maximum distance for pointer matching (0 = unlimited).

See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/probeleak/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
addressNo
countNo
max_distanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the burden of disclosure. It indicates a read-like operation (scanning memory) and lists regions checked, but does not explicitly state safety (e.g., no side effects). The behavior is implicitly non-destructive, but the description lacks a clear statement on permissions or rate limits.

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 well-structured with a one-line summary followed by contextual details and parameter explanations. It is front-loaded with the action and source, and every sentence adds value. The 'See' link is extra but not excessive.

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 complexity and presence of an output schema, the description covers the essential purpose, parameters, and regions scanned. It does not mention prerequisites like active session or return format, but the output schema likely covers that. Overall, it is adequately complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must add meaning. It separately explains each parameter: session_id (UUID), address (default $sp), count (bytes, default 0x40), max_distance (0 = unlimited). This clarifies defaults and purpose beyond the schema's type-only information.

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

Purpose4/5

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

The description clearly states the tool scans memory for pointer-like values indicating information leaks. It specifies that it checks known regions (stack, heap, libc, binary). However, it does not differentiate itself from the sibling tool 'pwndbg_leakfind', which likely has a similar purpose.

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 for detecting pointer leaks in memory regions but does not explicitly state when to use or avoid this tool. There is no mention of alternatives or specific conditions, leaving the agent to infer context.

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