paperbot · PL 论文追踪

全部论文 待读 收藏

P2 OpenTracer: A Dynamic Transaction Trace Analyzer for Smart Contract Invariant Generation and Beyond

OpenTracer:面向智能合约不变式生成及更广泛应用的动态交易轨迹分析器
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 3/10 · 论文属于程序验证/程序分析中的不变式推断,但与用户核心方向(静态分析、LLM/Agent 与形式化验证交叉、浮点或贝叶斯程序分析)关联较弱:它针对智能合约做动态交易追踪,不涉及静态分析、LLM/Agent,也不涉及浮点或贝叶斯程序分析。引用 3 inbox
Zhiyang Chen, Ye Liu, Sidi Mohamed Beillahi, Yi Li, Fan Long
crossref: 2026-09-12

AI 速览

一句话:提出开源工具 OpenTracer,完整追踪智能合约交易每一步执行信息并据此推断不变式。

智能合约是区块链上自动执行的程序,可在无中心化监管的情况下支持可靠的价值交换。尽管工业界与学术界近来关注对其交易历史做动态分析,但目前尚无开源工具能全面追踪完整的交易信息,以提取用户所需的数据(如与不变式相关的数据)。本文提出 OpenTracer 以填补这一空白:它保证对每一次执行步骤的完整追踪,提供完整的交易信息。作者使用 OpenTracer 分析了 350,800 笔以太坊交易,并依据预定义模板成功推断出 23 种不同类型的不变式。该工具完全开源,可供希望从交易轨迹中提取或验证新不变式的开发者与研究者使用。

问题
现有工作虽关注智能合约交易历史的动态分析,但缺少开源工具对交易执行做完整追踪,从而无法提取不变式等相关数据。
方法
实现 OpenTracer,对每一执行步骤进行完整追踪并给出完整交易信息,再基于预定义模板从交易轨迹中推断不变式。
评估
在 350,800 笔以太坊交易上运行,成功推断出 23 种不同类型的不变式;工具已完全开源并提供演示视频。
原文摘要(Abstract)

Smart contracts, self-executing programs on the blockchain, facilitate reliable value exchanges without centralized oversight. Despite the recent focus on dynamic analysis of their transaction histories in both industry and academia, no open-source tool currently offers comprehensive tracking of complete transaction information to extract user-desired data such as invariant-related data. This paper introduces OpenTracer, designed to address this gap. OpenTracer guarantees comprehensive tracking of every execution step, providing complete transaction information. OpenTracer has been employed to analyze 350,800 Ethereum transactions, successfully inferring 23 different types of invariant from predefined templates. The tool is fully open-sourced, serving as a valuable resource for developers and researchers aiming to extract or validate new invariants from transaction traces. A demonstration video of OpenTracer is available at https://youtu.be/vTdmjWdYd30. The source code of OpenTracer is available at https://github.com/jeffchen006/OpenTracer.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8391,
  title = {OpenTracer: A Dynamic Transaction Trace Analyzer for Smart Contract Invariant Generation and Beyond},
  author = {Zhiyang Chen and Ye Liu and Sidi Mohamed Beillahi and Yi Li and Fan Long},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695361}
}