# uniswap-v2-reborn：从已部署字节码重建 Uniswap v2

> uniswap-v2-reborn 使用 REA 接口分析、存储槽探测和行为规格，从已部署的 EVM 运行时代码重建 Uniswap v2 的 factory、pair 与 Router02。仓库提供 TypeScript 模型、Solidity 0.8 合约和同原版字节码对照的差异测试工具；作者报告 4,800 次模糊操作无差异，并精确重放 426 笔历史交易。

- 类型：案例
- 目标：二进制
- 类别：REA 社区调查案例
- 关联：作者报告的混合工具流程
- 来源复核于：2026-11-07
- 收录于：2026-11-09
- 原始资源：<https://github.com/devtechedge/uniswap-v2-reborn>
- 一手来源：<https://github.com/devtechedge/uniswap-v2-reborn/blob/0cdad3f6d2919e62b33a81afea03ae305ebb6275/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/uniswap-v2-reborn-case/>
- 记录 JSON：<https://awesomerea.org/resources/uniswap-v2-reborn-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/uniswap-v2-reborn-case/index.md)

## 使用条件与局限

- 本地构建与测试需要 Node 22.19 或更新版本、pnpm 9 和 Foundry。
- 作者报告 4,800 次差异测试操作没有不一致，并精确重放了 426 笔历史兑换交易。
- MIT 许可证。

## 一手来源

1. <https://github.com/devtechedge/uniswap-v2-reborn/blob/0cdad3f6d2919e62b33a81afea03ae305ebb6275/README.md>
2. <https://github.com/devtechedge/uniswap-v2-reborn/blob/0cdad3f6d2919e62b33a81afea03ae305ebb6275/docs/ARCHITECTURE.md>

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

- [Eidolon in Rust：Eidolon 64k 演示的逐字节一致 Rust 移植](https://awesomerea.org/zh/resources/eidolon-64k-rust-port-case/index.md) · 案例
- [m0rph：追踪混淆 ELF 程序的字符串校验逻辑](https://awesomerea.org/zh/resources/m0rph-ctf-analysis-case/index.md) · 案例
- [CPQ IO Scheduler：还原小米的块设备调度器](https://awesomerea.org/zh/resources/cpq-iosched-case/index.md) · 案例
- [Malware Analysis：njRAT 与 Casdet 行为研究](https://awesomerea.org/zh/resources/malware-analysis-njrat-casdet-case/index.md) · 案例
- [FSR 4 INT8：GPU 计算阶段重建与对比测试工具](https://awesomerea.org/zh/resources/fsr4-int8-reconstruction-case/index.md) · 案例
- [bcwc_pcie：对照 Apple kext 审计 FaceTime HD 摄像头驱动](https://awesomerea.org/zh/resources/bcwc-pcie-camera-audit-case/index.md) · 案例

## 关于此条目

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