# XRefer 二进制导航插件

> Google FLARE 团队为 IDA Pro 开发的 Python 插件，提供自定义导航界面。XRefer 从入口点追踪执行路径，将二进制划分为相关函数的聚类，并呈现下游行为和产物，配以路径图提供上下文。它可以摄入外部数据，如来自 VMRay 和 CAPE 沙箱的 API 跟踪、capa 结果以及用户自定义的间接交叉引用。可选的集成会把提取的产物发送给 Google 的 Gemini 模型，生成代码关系的自然语言描述和基于聚类的函数标签。

- 类型：工具
- 目标：二进制
- 类别：原生分析工具
- 关联：基础工具
- 来源复核于：2026-10-27
- 收录于：2026-11-09
- 原始资源：<https://github.com/mandiant/xrefer>
- 一手来源：<https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/xrefer/>
- 记录 JSON：<https://awesomerea.org/resources/xrefer/record.json>
- 英文版：[English](https://awesomerea.org/resources/xrefer/index.md)

## 使用条件与局限

- 需要带 Python 的 IDA Pro。可通过 hcli 安装，或将 plugins/ 复制到 IDA 插件目录、安装 requirements.txt 并重启 IDA。asciinet 依赖需要 PATH 中有 JRE。
- 可选增强功能接受 VMRay 和 CAPE 的 API 跟踪、capa 输出及用户定义的间接交叉引用。
- 启用可选 LLM 功能后，提取的 API、字符串、库引用和函数关系会发送给 Google Gemini 等外部服务；所有 LLM 功能均可关闭。
- 仓库的 test_samples/ 中有两个 AES 加密的第三方样本压缩包，未记录密码或来源。
- 许可证：插件使用 Apache-2.0。

## 一手来源

1. <https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/README.md>
2. <https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/docs/usage.md>
3. <https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/requirements.txt>
4. <https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/ida-plugin.json>
5. <https://github.com/mandiant/xrefer/tree/1aeda163ccae9be7b01dd6172513c28878f758b6/test_samples>
6. <https://github.com/mandiant/xrefer/blob/1aeda163ccae9be7b01dd6172513c28878f758b6/LICENSE>

## 同分区更多条目：原生二进制

- [dsdump（paradiseduo 封装版）Mach-O 类信息导出工具](https://awesomerea.org/zh/resources/paradiseduo-dsdump/index.md) · 工具
- [Dr. Memory](https://awesomerea.org/zh/resources/dr-memory/index.md) · 工具
- [Intel XED](https://awesomerea.org/zh/resources/intel-xed/index.md) · 工具
- [Keystone](https://awesomerea.org/zh/resources/keystone/index.md) · 工具
- [Microsoft Detours](https://awesomerea.org/zh/resources/microsoft-detours/index.md) · 工具
- [PANDA](https://awesomerea.org/zh/resources/panda/index.md) · 工具

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
