rev-struct

仓库创建 2026年7月8日最近提交 4 天前SkillHot 收录 1 天前
▸ 精选理由

自动化恢复复杂结构体,节省手工比对与猜测时间。

▸ 风险提示

可能需连接 IDA/Ghidra 并运行本地脚本,存在执行风险。

这个 Skill 做什么

通过分析函数的内存访问与调用链还原数据结构定义。

通过分析函数里的内存读写和调用链,推断出二进制里用到的数据结构定义。用在逆向工程、漏洞分析或需要理解未知二进制内数据布局时,可以把各函数对内存的访问模式合成成结构体。特色是不仅看单个函数,还沿着调用链追踪内存访问,必要时能结合 IDA Pro 等工具获取更准确的结果。

▸ 展开 SKILL.md 英文原文

Reconstruct data structures by analyzing memory access patterns across functions

开发编程逆向结构恢复IDA/Ghidra通用
243
Stars
13
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/OpenAisec/Miko/main/data/skills/rev-struct/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/OpenAisec/Miko/main/data/skills/rev-struct/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# rev-struct - Structure Recovery

Recover data structure definitions by analyzing memory access patterns in functions and their call chains.

## Pre-check

**Determine which IDA access method is available:**

**Option A — IDA Pro MCP (preferred if connected):**
Check if the IDA Pro MCP server is connected (look for an active `ida-pro` or equivalent MCP connection). If connected, you can query IDA directly via MCP tools — no exported files needed. Proceed with the analysis using MCP.

**Option B — IDA-NO-MCP exported data:**
If MCP is not connected, check if IDA-NO-MCP exported data exists in the current directory:

1. Check if `decompile/` directory exists
2. Check if there are `.c` files i
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有