
导航菜单[登录](/login?return_tohttps%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?topicai)- [软件开发](https://github.com/resources/articles?topicsoftware-development)- [DevOps](https://github.com/resources/articles?topicdevops)- [安全](https://github.com/resources/articles?topicsecurity)- [查看所有主题](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_tohttps%3A%2F%2Fgithub.com%2Fxoreaxeaxeax%2Frepsych)[注册](/signup?ref_ctaSignupref_locheaderloggedoutref_page%2F%3Cuser-name%3E%2F%3Crepo-name%3Esourceheader-reposource_repoxoreaxeaxeax%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 || --- | --- || [](/xoreaxeaxeax/REpsych/blob/master/examples/cfg.png) | [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych.gif) |该项目并没有特定的实际用途只是为了证明这种方法可行不过在 [DEF CON 演讲](https://www.youtube.com/watch?vHlUe0TUHOIc)中提到了一些非严肃的可能应用场景。该程序在所有测试过的 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 位每像素的位图。这样可以去除非黑白颜色使控制流图达到最佳效果。示例- [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_1.png?rawtrue)- [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_4.png?rawtrue)- [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_3.png?rawtrue)- [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_2.png?rawtrue)- [](/xoreaxeaxeax/REpsych/blob/master/examples/repsych_5.png?rawtrue)参考资料该技术在 [DEF CON 演讲](https://www.youtube.com/watch?vHlUe0TUHOIc)中有详细介绍。演讲幻灯片可[点击此处查看](/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_urlhttps%3A%2F%2Fgithub.com%2Fxoreaxeaxeax%2FREpsychreportxoreaxeaxeax%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?tagsdotcom-footer)- 管理 Cookie- 不共享我的个人信息你目前无法执行此操作。