GitHub 功能大揭秘:涵盖 AI 创作、多领域方案及 REpsych 工具集使用指南
2026/8/9 15:46:32 网站建设 项目流程

导航菜单

[登录](/login?return_to=https%3A%2F%2Fgithub.com%2Fxoreaxeaxeax%2Frepsych) 外观设置

平台

-AI 代码创作
- [GitHub Copilot:借助 AI 编写更优质代码](https://github.com/features/copilot)
- [GitHub Copilot 应用:从问题到合并,实现直接代理](https://github.com/features/ai/github-app)
- [MCP 注册表:集成外部工具](https://github.com/mcp)
-开发者工作流
- [Actions:自动化任何工作流](https://github.com/features/actions)
- [Codespaces:即时开发环境](https://github.com/features/codespaces)
- [Issues:规划和跟踪工作](https://github.com/features/issues)
- [代码审查:管理代码变更](https://github.com/features/code-review)
- [代码质量:在合并时确保质量](https://github.com/features/code-quality)
-应用程序安全
- [GitHub Advanced Security:发现并修复漏洞](https://github.com/security/advanced-security)
- [代码安全:在构建过程中保障代码安全](https://github.com/security/advanced-security/code-security)
- [密钥保护:防患于未然,防止信息泄露](https://github.com/security/advanced-security/secret-protection)
-探索
- [为何选择 GitHub](https://github.com/why-github)
- [文档](https://docs.github.com)
- [博客](https://github.blog)
- [更新日志](https://github.blog/changelog)
- [市场](https://github.com/marketplace)

[查看所有功能](https://github.com/features)

解决方案

-按公司规模划分
- [企业版](https://github.com/enterprise)
- [中小型团队版](https://github.com/team)
- [初创公司版](https://github.com/enterprise/startups)
- [非营利组织版](https://github.com/solutions/industry/nonprofits)
-按用例划分
- [应用现代化](https://github.com/solutions/use-case/app-modernization)
- [DevSecOps](https://github.com/solutions/use-case/devsecops)
- [DevOps](https://github.com/solutions/use-case/devops)
- [CI/CD](https://github.com/solutions/use-case/ci-cd)
- [查看所有用例](https://github.com/solutions/use-case)
-按行业划分
- [医疗保健](https://github.com/solutions/industry/healthcare)
- [金融服务](https://github.com/solutions/industry/financial-services)
- [制造业](https://github.com/solutions/industry/manufacturing)
- [政府机构](https://github.com/solutions/industry/government)
- [查看所有行业](https://github.com/solutions/industry)

[查看所有解决方案](https://github.com/solutions)

资源

-按主题探索
- [AI](https://github.com/resources/articles?topic=ai)
- [软件开发](https://github.com/resources/articles?topic=software-development)
- [DevOps](https://github.com/resources/articles?topic=devops)
- [安全](https://github.com/resources/articles?topic=security)
- [查看所有主题](https://github.com/resources/articles)
-按类型探索
- [客户案例](https://github.com/customer-stories)
- [活动与网络研讨会](https://github.com/resources/events)
- [电子书与报告](https://github.com/resources/whitepapers)
- [业务洞察](https://github.com/solutions/executive-insights)
- [GitHub Skills](https://skills.github.com)
-支持与服务
- [文档](https://docs.github.com)
- [客户支持](https://support.github.com)
- [社区论坛](https://github.com/orgs/community/discussions)
- [信任中心](https://github.com/trust-center)
- [合作伙伴](https://github.com/partners)

[查看所有资源](https://github.com/resources)

开源

-社区
- [GitHub Sponsors:资助开源开发者](https://github.com/open-source/sponsors)
-项目
- [安全实验室](https://securitylab.github.com)
- [维护者社区](https://maintainers.github.com)
- [加速器](https://github.com/open-source/accelerator)
- [GitHub Stars](https://stars.github.com)
- [存档项目](https://archiveprogram.github.com)
-仓库
- [主题](https://github.com/topics)
- [热门趋势](https://github.com/trending)
- [合集](https://github.com/collections)

企业版

-企业解决方案
- [企业平台:由 AI 驱动的开发者平台](https://github.com/enterprise)
-可用附加组件
- [GitHub Advanced Security:企业级安全功能](https://github.com/security/advanced-security)
- [Copilot for Business:企业级 AI 功能](https://github.com/features/copilot/copilot-business)
- [高级支持:企业级全天候支持](https://github.com/enterprise/premium-support)

[定价](https://github.com/pricing)

按 `/` 键进行搜索

[登录](/login?return_to=https%3A%2F%2Fgithub.com%2Fxoreaxeaxeax%2Frepsych)

[注册](/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=xoreaxeaxeax%2FREpsych) 外观设置

你已在另一个标签页或窗口中登录。[重新加载]() 以刷新会话。
你已在另一个标签页或窗口中退出登录。[重新加载]() 以刷新会话。
你在另一个标签页或窗口中切换了账户。[重新加载]() 以刷新会话。 关闭提醒

{{ message }}

[ xoreaxeaxeax ](/xoreaxeaxeax) /[REpsych](/xoreaxeaxeax/REpsych)公开

从 [Battelle/REpsych](/Battelle/REpsych) 分叉而来

- [ 通知 ](/login?return_to=%2Fxoreaxeaxeax%2FREpsych) 你必须登录才能更改通知设置
- [ 分叉 72 ](/login?return_to=%2Fxoreaxeaxeax%2FREpsych)
- [ 加星 1.1k ](/login?return_to=%2Fxoreaxeaxeax%2FREpsych)

- [ 代码 ](/xoreaxeaxeax/REpsych)
- [ 问题 0 ](/xoreaxeaxeax/REpsych/issues)
- [ 拉取请求 1 ](/xoreaxeaxeax/REpsych/pulls)
- [ 操作 ](/xoreaxeaxeax/REpsych/actions)
- [ 项目 ](/xoreaxeaxeax/REpsych/projects)
- [ 维基 ](/xoreaxeaxeax/REpsych/wiki)
- [ 安全与质量 0 ](/xoreaxeaxeax/REpsych/security)
- [ 洞察 ](/xoreaxeaxeax/REpsych/pulse)

其他导航选项
- [ 代码 ](/xoreaxeaxeax/REpsych)
- [ 问题 ](/xoreaxeaxeax/REpsych/issues)
- [ 拉取请求 ](/xoreaxeaxeax/REpsych/pulls)
- [ 操作 ](/xoreaxeaxeax/REpsych/actions)
- [ 项目 ](/xoreaxeaxeax/REpsych/projects)
- [ 维基 ](/xoreaxeaxeax/REpsych/wiki)
- [ 安全与质量 ](/xoreaxeaxeax/REpsych/security)
- [ 洞察 ](/xoreaxeaxeax/REpsych/pulse)

[](/xoreaxeaxeax/REpsych)

主分支

[分支](/xoreaxeaxeax/REpsych/branches)[标签](/xoreaxeaxeax/REpsych/tags)

[](/xoreaxeaxeax/REpsych/branches)[](/xoreaxeaxeax/REpsych/tags)

转到文件

代码

打开更多操作菜单

文件夹和文件

| 名称 | 名称 | 最后提交消息 | 最后提交日期 |
| --- | --- | --- | --- |

最新提交

历史记录

[10 次提交](/xoreaxeaxeax/REpsych/commits/master/)
[](/xoreaxeaxeax/REpsych/commits/master/)10 次提交
[code](/xoreaxeaxeax/REpsych/tree/master/code "code") | [code](/xoreaxeaxeax/REpsych/tree/master/code "code") | |
[examples](/xoreaxeaxeax/REpsych/tree/master/examples "examples") | [examples](/xoreaxeaxeax/REpsych/tree/master/examples "examples") | |
[gen](/xoreaxeaxeax/REpsych/tree/master/gen "gen") | [gen](/xoreaxeaxeax/REpsych/tree/master/gen "gen") | |
[gfx](/xoreaxeaxeax/REpsych/tree/master/gfx "gfx") | [gfx](/xoreaxeaxeax/REpsych/tree/master/gfx "gfx") | |
[slides](/xoreaxeaxeax/REpsych/tree/master/slides "slides") | [slides](/xoreaxeaxeax/REpsych/tree/master/slides "slides") | |
[LICENSE](/xoreaxeaxeax/REpsych/blob/master/LICENSE "LICENSE") | [LICENSE](/xoreaxeaxeax/REpsych/blob/master/LICENSE "LICENSE") | |
[Makefile](/xoreaxeaxeax/REpsych/blob/master/Makefile "Makefile") | [Makefile](/xoreaxeaxeax/REpsych/blob/master/Makefile "Makefile") | |
[README.md](/xoreaxeaxeax/REpsych/blob/master/README.md "README.md") | [README.md](/xoreaxeaxeax/REpsych/blob/master/README.md "README.md") | |
[repsych.asm](/xoreaxeaxeax/REpsych/blob/master/repsych.asm "repsych.asm") | [repsych.asm](/xoreaxeaxeax/REpsych/blob/master/repsych.asm "repsych.asm") | |

查看所有文件

仓库文件导航

- README
- BSD-3-Clause 许可证

更多项目

REpsych

逆向工程中的心理战

github.com/xoreaxeaxeax/repsych // domas // @xoreaxeaxeax

概述

REpsych 工具集是一个概念验证项目,展示了如何通过程序的[控制流图](https://en.wikipedia.org/wiki/Control_flow_graph)(CFG)来生成图像。

| 典型函数的 CFG | REpsych 生成的 CFG |
| --- | --- |
| [![cfg](/xoreaxeaxeax/REpsych/raw/master/examples/cfg.png)](/xoreaxeaxeax/REpsych/blob/master/examples/cfg.png) | [![repsych](/xoreaxeaxeax/REpsych/raw/master/examples/repsych.gif)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych.gif) |

该项目并没有特定的实际用途(只是为了证明这种方法可行),不过在 [DEF CON 演讲](https://www.youtube.com/watch?v=HlUe0TUHOIc)中提到了一些(非严肃的)可能应用场景。

该程序在所有测试过的 IDA Pro 逆向工程工具版本中都能稳定运行,在其他 CFG 查看器(如 Hopper、BinNavi、radare2 等)中运行效果则一般。

使用方法

该工具集可以将源图像转换为可运行的程序,使程序的控制流图生成源图像。

要从图像生成新程序,请按以下步骤操作:
1. 将图像保存为 24 位每像素(BPP)的位图,放置在 gfx/ 文件夹中。
2. 在项目根目录下运行 "make image" 命令,其中 "image" 是图像的文件名(不包含扩展名)。

这样会创建两个可运行的程序:repsych_v1 和 repsych_v2。它们采用不同的策略来确保 CFG 渲染器正确放置 CFG 节点。

提示

该工具会为源图像的每个像素创建一个基本块(CFG 节点),因此建议使用较小的源图像(不超过 100x100),并且可能需要增加 CFG 查看器中允许的节点数量。

如果使用文本图像作为工具的输入,应先将图像转换为 2 位每像素的黑白位图,再转换为 24 位每像素的位图。这样可以去除非黑白颜色,使控制流图达到最佳效果。

示例

- [![示例 1](/xoreaxeaxeax/REpsych/raw/master/examples/repsych_1.png?raw=true)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_1.png?raw=true)
- [![示例 4](/xoreaxeaxeax/REpsych/raw/master/examples/repsych_4.png?raw=true)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_4.png?raw=true)
- [![示例 3](/xoreaxeaxeax/REpsych/raw/master/examples/repsych_3.png?raw=true)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_3.png?raw=true)
- [![示例 2](/xoreaxeaxeax/REpsych/raw/master/examples/repsych_2.png?raw=true)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_2.png?raw=true)
- [![示例 5](/xoreaxeaxeax/REpsych/raw/master/examples/repsych_5.png?raw=true)](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_5.png?raw=true)

参考资料

该技术在 [DEF CON 演讲](https://www.youtube.com/watch?v=HlUe0TUHOIc)中有详细介绍。

演讲幻灯片可[点击此处查看](/xoreaxeaxeax/REpsych/blob/master/slides/domas_defcon_2015_repsych.pdf)。

作者

REpsych 是 Christopher Domas([@xoreaxeaxeax](https://twitter.com/xoreaxeaxeax))的概念验证项目。

关于

逆向工程中的心理战

资源

- Readme
- BSD-3-Clause 许可证
- [活动](/xoreaxeaxeax/REpsych/activity)

加星数

1.1k颗星

关注者

28人关注

分叉数

[72次分叉](/xoreaxeaxeax/REpsych/forks)

[举报仓库](/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fxoreaxeaxeax%2FREpsych&report=xoreaxeaxeax+%28user%29)

版本发布

软件包

贡献者

语言

页脚

[ ](https://github.com) (C) 2026 GitHub, Inc.

页脚导航

- [条款](https://docs.github.com/site-policy/github-terms/github-terms-of-service)
- [隐私](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement)
- [安全](https://github.com/security)
- [状态](https://www.githubstatus.com/)
- [社区](https://github.community/)
- [文档](https://docs.github.com/)
- [联系我们](https://support.github.com?tags=dotcom-footer)
- 管理 Cookie
- 不共享我的个人信息

你目前无法执行此操作。

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询