tracealyzer

Traces execution for N steps (stepping into or over calls) or until a condition is met, then analyzes the recorded instruction log.

Last repository push
GitHub Stars
217
Forks
22
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "tracealyzer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0f91bdc435b4e98a89f9dbae22fd1dae3d7cd5ad6d0e6783a2a23a27ed07a5d0. Verify the upstream source and version against https://github.com/dariushoule/x64dbg-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Traces execution for N steps (stepping into or over calls) or until a condition is met, then analyzes the recorded instruction log.

0 Downloads

Introduction source: third_party · dariushoule · 0.0.1 Reference

SkillPi interpretation

Tasks
Trace execution (into or over calls) for N steps or until a condition, then analyze the recorded instruction log
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: tracealyzer
description: Trace execution (into or over calls) for N steps or until a condition, then analyze the recorded instruction log
allowed-tools: mcp__x64dbg__get_debugger_status, mcp__x64dbg__pause, mcp__x64dbg__trace_into, mcp__x64dbg__trace_over, mcp__x64dbg__eval_expression, mcp__x64dbg__get_symbol, mcp__x64dbg__disassemble, mcp__x64dbg__get_all_registers, mcp__x64dbg__set_comment, mcp__x64dbg__set_label, Read, Bash

tracealyzer

Trace debuggee execution — stepping into or over calls — for a specified number of instructions or until a condition is met. The full instruction log is captured to a file and then analyzed.

Instructions

Follow these steps exactly:

1. Verify debugger connection

Call mcp__x64dbg__get_debugger_status to confirm the debugger is connected and a debuggee is loaded and paused. If it is running, call mcp__x64dbg__pause. If no debuggee is loaded, tell the user and stop.

2. Gather trace parameters

Ask the user for the following if not already provided:

  • Trace mode: trace into calls or trace over calls (default: over)
  • Stop condition — one of:
    • A maximum number of instructions (e.g. 1000)
    • An x64dbg expression that stops when true (e.g. cip == 0x7FF6A0001000, rax != 0)
    • Both (whichever triggers first)

If the user provides a symbol or address for the stop condition, resolve it with mcp__x64dbg__eval_expression and build the break_condition expression (e.g. cip == <resolved_addr>).

When the user only specifies a step count N and no explicit break condition, use break_condition 0 (never true — the trace runs until max_steps is hit).

3. Capture starting context

Call mcp__x64dbg__get_all_registers and mcp__x64dbg__disassemble at the current instruction pointer to record the starting state. Note the starting address.

4. Run the trace

Prepare the output log path: ./traces/trace_<timestamp>.log (create the traces directory if it doesn't exist via Bash).

Call the appropriate trace tool (mcp__x64dbg__trace_into or mcp__x64dbg__trace_over) with:

Parameter Value
break_condition The user's condition, or 0 if only a step count was given
max_steps The user's step count, or 50000 if only a condition was given
log_text {p:cip} {i:cip} | Label={label@cip} Comment={comment@cip}
log_file The output log path from above
wait_timeout Scale with max_steps — use max(60, max_steps // 500) seconds

5. Read and analyze the trace log

Read the trace log file. The log contains one line per executed instruction in the format:

<address> <disassembly> | Label=<label> Comment=<comment>

Ignore when Labels or Comments say [Formatting Error], it just means there is no label or comment at that instruction.

Analyze the trace and present a summary to the user:

  • Trace overview: total instructions executed, start address → end address, trace mode used
  • Execution flow: describe the high-level behavior — what the code did, which functions were called, loops observed, and notable control-flow patterns
  • Hot spots: addresses or regions that appear most frequently (loops, repeated calls)
  • Key observations: interesting register manipulations, memory accesses, syscalls, API calls, string operations, or anything else that stands out

Use mcp__x64dbg__get_symbol to resolve notable addresses to symbol names where possible.

If the trace log is very large (>2000 lines), read it in chunks and summarize progressively.

6. Follow-up actions

After presenting the summary, ask the user if they would like any follow-up actions such as:

  • Annotate: add comments/labels in x64dbg at key addresses using mcp__x64dbg__set_comment / mcp__x64dbg__set_label
  • Deeper analysis: re-trace a specific sub-region, or focus on a particular function
  • Deobfuscation: identify and explain obfuscated patterns found in the trace
  • Export: the trace log is already saved to disk at the path from step 4

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供高级调试跟踪与分析能力,适用于逆向工程、漏洞分析等专业高价值场景
  • 支持多种停止条件与跟踪模式,功能完整且实用性强
Trigger Precision90/100

Highlights

  • description 完整描述核心功能,触发词精准覆盖跟踪执行与分析日志的能力
  • frontmatter 中 description 字段位置正确且内容完整
Structure and Standards90/100

Highlights

  • 6个步骤划分清晰,每步有明确出口条件与参数说明
  • 包含端到端日志格式示例与动态超时计算逻辑
Execution Reliability75/100

Areas to improve

  • trace 工具异常未显式处理 Reported severity: Minor

    未显式处理 trace_into/trace_over 调用失败的情况(如超时、权限问题、调试器断开)

    Recommendation: 建议在步骤4增加对 trace 工具返回值的检查,并在失败时提示用户并终止流程

Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.