arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.04683cs.SE
收藏

按需重新执行的动态切片

Dynamic Slicing by On-demand Re-execution

Ivan Postolski, Victor Braberman, Diego Garbervetsky, Sebastian Uchitel

摘要:

在本文中,我们提出了一种新的方法,旨在提供一种替代流行的范式动态切片建设。动态切片需要在执行中出现的动态数据和控制依赖性。在单次执行期间,存储器引用信息被记录,然后被遍历以提取依赖性。即使执行中等大小的简单和简短的程序,一次执行的方法和工具也会受到挑战。我们建议将实际的时间复杂度从执行大小转移到切片大小。特别是,我们的方法多次执行程序,同时在每次执行时跟踪目标信息。我们提出了一个具体的算法,按照按需重新执行的范例,使用一个新的概念,边境依赖增量建立一个动态切片。为了集中依赖跟踪,该算法依赖于静态分析。我们显示的SV-COMP基准和Antrl 4单元测试,提供证据,按需重新执行可以提供性能增益,特别是当切片大小是小的,执行大小是大的评估结果。

英文摘要:

In this paper, we propose a novel approach that aims to offer an alternative to the prevalent paradigm to dynamic slicing construction. Dynamic slicing requires dynamic data and control dependencies that arise in an execution. During a single execution, memory reference information is recorded and then traversed to extract dependencies. Execute-once approaches and tools are challenged even by executions of moderate size of simple and short programs. We propose to shift practical time complexity from execution size to slice size. In particular, our approach executes the program multiple times while tracking targeted information at each execution. We present a concrete algorithm that follows an on-demand re-execution paradigm that uses a novel concept of frontier dependency to incrementally build a dynamic slice. To focus dependency tracking, the algorithm relies on static analysis. We show results of an evaluation on the SV-COMP benchmark and Antrl4 unit tests that provide evidence that on-demand re-execution can provide performance gains particularly when slice size is small and execution size is large.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑