paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DAppFL: Just-in-Time Fault Localization for Decentralized Applications in Web3

DAppFL:面向 Web3 去中心化应用的即时故障定位
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 3/10 · 论文聚焦Web3 DApp故障定位,属于软件调试与逆向工程领域,与用户核心关注的LLM与静态分析/形式化验证、浮点/贝叶斯程序分析等方向无直接交叉;但提出了首个DApp故障定位基准且问题驱动,有一定参考价值,故给中间偏低分。引用 6 inbox
Zhiying Wu, Jiajing Wu, Hui Zhang, Ziwei Li, Jiachi Chen, Zibin Zheng, Qing Xia, Gang Fan, Yi Zhen
crossref: 2026-09-12

AI 速览

一句话:提出首个 DApp 故障定位工具 DAppFL,结合逆向工程与加密货币流向追踪,在 Top-5 内定位 63% 的故障。

DApp 与加密货币紧密关联,其故障可能直接造成资金损失,因此高效故障定位对紧急救援至关重要。但传统应用的故障定位方法无法识别 DApp 特有故障特征(如大量加密货币被转移给黑客),而基于变异测试的方法又过于耗时。本文首次系统研究 DApp 故障定位,提出学习式工具 DAppFL:通过逆向工程收集已执行源代码,并追踪加密货币流向,辅助定位故障函数;同时构建了首个 DApp 故障定位数据集作为新基准。实验表明,DAppFL 能在 Top-5 内定位 63% 的故障,比现有最佳方法高出 23%。

问题
DApp 故障可能导致加密货币资金损失,但传统故障定位方法无法识别 DApp 特有故障特征,且基于变异测试的方法耗时严重,难以实际应用。
方法
DAppFL 先通过逆向工程收集已执行源代码,再追踪加密货币流向,并利用学习模型综合这些信息来定位故障函数;同时构建了首个 DApp 故障定位数据集。
评估
在首个 DApp 故障定位数据集上进行实验,DAppFL 在 Top-5 内定位 63% 的故障,较当前最佳方法提升 23%。
原文摘要(Abstract)

Web3 describes an idea for the next evolution of the Internet, where blockchain technology enables the Internet of Value. As Web3 software, decentralized applications (DApps) have emerged in recent years. There exists a natural link between DApps and cryptocurrencies, where faults in DApps could directly lead to monetary losses associated with cryptocurrencies. Hence, efficient fault localization technology is of paramount importance for urgent DApp rescue operations and the mitigation of financial losses. However, fault localization methods applied in traditional applications are not well-suited for this specific field, due to their inability to identify DApp-specific fault features, e.g., a substantial amount of cryptocurrency is transferred from DApps to hackers. In order to explore the root cause of DApp faults, some researchers try to identify suspicious code snippets through mutation testing. Nonetheless, applying mutation testing for DApp fault localization is time-consuming and thus limited in practice. This paper conducts the first comprehensive study of DApp fault localization. We introduce DAppFL, a learning-based DApp fault localization tool that performs reverse engineering to gather executed source code and then trace cryptocurrency flow to assist in locating faulty functions. We also present the inaugural dataset for DApp fault localization, providing a new benchmark for this domain.Our experimental results demonstrate that DAppFL locates 63% of faults within the Top-5, 23% more than the state-of-the-art method. To facilitate further research, our code and dataset are freely available online: https://github.com/xplanet-sysu/awesome-works#dappfl.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8505,
  title = {DAppFL: Just-in-Time Fault Localization for Decentralized Applications in Web3},
  author = {Zhiying Wu and Jiajing Wu and Hui Zhang and Ziwei Li and Jiachi Chen and Zibin Zheng and Qing Xia and Gang Fan and Yi Zhen},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3652116}
}