so-function-recovery SKILL.md skillA

so-function-recovery from index-login/mobilere-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add index-login/mobilere-skill/so-function-recovery@git:20261108.cdc9cbf

Pins git:20261108.cdc9cbf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
index-login/mobilere-skill
Path
.kilo/skill/so-function-recovery/SKILL.md
Versions recorded
1
Latest version
git:20261108.cdc9cbf, committed Nov 8, 2026
Size
13,919 bytes
Repository stars
252
License
MIT

大型加固 SO 函数级还原流水线(2000+ 函数、无 .eh_frame、CFF 混淆、内嵌字节码 VM)。用台账三层筛选替代逐个读函数,用指针表交叉检查函数边界,用动态 trace 反推 VM 编码,最终产出完整逻辑闭环。当任务是"把某个 .so 的主要代码逻辑搞清楚"、要判断"分析到什么程度算完成"、或不想重复读同一批函数时使用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# so-function-recovery — 大型 SO 函数级还原流水线

**目标不是读完每个函数,而是用最少的阅读量拿到完整逻辑闭环。**

路径基准:项目根。工具在 `tools/`,Ghidra 脚本在 `tools/ghidra/`。
方法论正文见 `references/so-function-recovery.md`;本 skill 是可执行的流水线。

## 何时用 / 何时不用

| 用 | 不用 |
|---|---|
| .so 有 500+ 函数,要搞清主要逻辑 | 只看一两个函数 → `references/so-func-naming.md` |
| 脱壳产物无 `.eh_frame`、函数边界乱 | 要审漏洞 → `references/native-audit.md` |
| 有 CFF / 字节码 VM 混淆 | 要复算单个算法 → skill `so-emulate` |
| 要判断"分析到什么程度算完成" | 只是查字符串/导入表 → `tools/so.py` 单条命令 |

## 前置检查(缺一项都会白干)

```bash
# 1) ELF 结构是否可用(脱壳产物常见 section header 被伪造)
python3 tools/so.py info <so>
#   判据:dynsym_defined > 0、relocations > 0、PT_LOAD 的 va_eq_off=true

# 2) Ghidra 是否已建库并完成分析
ghidra_get_current_program_info            # 确认 program 名与 image_base
ghidra_get_function_count                  # 记下基线

# 3) 清理会阻塞构建的残留脚本
#    C:\Users\Administrator\ghidra_scripts 内失败脚本会永久阻塞整批编译
#    删 McpInline_*.java + %APPDATA%\ghidra\ghidra_*\osgi\compiled-bundles\*
```

## 步骤

### 0. 先分诊 SO 类型(决定哪些步骤会空转)

本流水线默认目标是**加固壳 SO**。类型判错会让 1/5.5/5.6/5.7 全部白跑。

| 类型 | 判据 | 走哪些步骤 |
|---|---|---|
| **加固壳 SO** | `DT_INIT_ARRAY` 项数多;有 `svc` 自杀路径;有 CFF/VM | 全流程 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add index-login/mobilere-skill/so-function-recovery@sha256:96164788722e21d4

The line at the top of this page pins the label git:20261108.cdc9cbf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fhsqtrdubechximm.svg)](https://markdownregistry.com/a/art_fhsqtrdubechximm)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 8, 2026.

versioncommittedcommitsizeaudit
git:20261108.cdc9cbf latest2026-11-08 cdc9cbf 13,919 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13919 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

index-login/mobilere-skill · 252 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fhsqtrdubechximm
GET https://markdownregistry.com/api/v1/resolve?ref=index-login/mobilere-skill/so-function-recovery
GET https://markdownregistry.com/api/v1/blob/96164788722e21d4b662fdc8b4d9132dedb3a7bdbeff0bf4f4a5af6bdb0c5c68

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from index-login/mobilere-skill

dex-mem-dump SKILL.md skill
index-login/mobilere-skill · .kilo/skill/dex-mem-dump/SKILL.md · 运行时 DEX 内存 dump / 脱壳(root 直读 /proc/<pid>/mem,不注入、不 ptrace):常规解包拿不到、抽取壳未回填、或目标查 TracerPid 时用。流程:推工具 → 跑 → 拉回 → 清理;分诊与排障见…
git:20261023.3fb7043 · audit A · 252 stars
frida-mobile-security SKILL.md skill
index-login/mobilere-skill · .kilo/skill/frida-mobile-security/SKILL.md · 用于 Android/iOS 移动应用安全逆向分析:Frida 动态插桩、绕过反调试/反注入/加固壳、脱壳、加密与 native SO 层 hook、运行时行为分析、jadx-mcp 静态攻击面分析、离线 SO 静态分析(ELF…
git:20261108.0f92827 · audit A · 252 stars
func-naming SKILL.md skill
index-login/mobilere-skill · .kilo/skill/func-naming/SKILL.md · 已知地址判断函数用途/算法(无符号函数命名):先查 .dynsym,再取字符串/魔数/成对调用特征,最后回填命名。SO 层深挖的单步能力,入口仍在 frida-mobile-security;恢复结构体用 native-analysis…
git:20261108.0f92827 · audit A · 252 stars
karpathy-guidelines SKILL.md skill
index-login/mobilere-skill · .kilo/skill/karpathy-guidelines/SKILL.md · 减少 LLM 常见编码错误的行为准则。在编写、审查或重构代码时使用,避免过度设计、精准修改、暴露假设、定义可验证的成功标准。
git:20260803.71f8be9 · audit A · 252 stars
so-emulate SKILL.md skill
index-login/mobilere-skill · .kilo/skill/so-emulate/SKILL.md · 用 Unicorn 离线调试/模拟单个 SO 函数:不启动 App 跟踪执行、对给定输入复算算法、解密或解码数据,或绕过 JNI/syscall/libc 等环境依赖。当用户要跑一个函数、验证算法输出、批量试输入、或真机 hook…
git:20261023.8337634 · audit A · 252 stars
vmp-analysis SKILL.md skill
index-login/mobilere-skill · .kilo/skill/vmp-analysis/SKILL.md · 字节码 VM / VMP 壳逆向的执行流水线:从"确认是 VM"到"反汇编出可读指令"的 8 步固定流程。用 profile 描述编码模型(换壳只换 JSON),用动态 trace 反推 opcode 编码,用命中率 > 95%…
git:20261108.d0b8de4 · audit A · 252 stars
AGENTS.md AGENTS.md file
index-login/mobilere-skill · AGENTS.md
git:20261108.83cd5a4 · audit A · 252 stars

Every file in index-login/mobilere-skill

Browse by kind, by grade A, or by owner.