arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1605.05104cs.LOcs.PL
收藏

抽象程序切片:一种基于抽象解释的程序切片方法

Abstract Program Slicing: an Abstract Interpretation-based approach to Program Slicing

Isabella Mastroeni, Damiano Zanardini

摘要:

在本文中,我们正式定义了抽象程序切片的概念,程序切片的一般形式被认为是数据的属性,而不是它们的确切值。这种方法适用于具有数值和引用值的语言,并依赖于程序组件(语句)之间的抽象依赖关系的概念。不同形式的(后向)抽象切片被添加到现有的正式框架中,传统的非抽象形式的切片可以进行比较。扩展的框架使我们能够理解抽象切片是传统切片的推广,因为传统切片(处理语法依赖关系)是由(语义)非抽象形式的切片推广的,这实际上相当于对数据执行身份抽象的抽象形式。声音算法计算抽象的依赖关系和程序片的系统表征,它依赖于程序状态之间的协议的概念。

英文摘要:

In the present paper we formally define the notion of abstract program slicing, a general form of program slicing where properties of data are considered instead of their exact value. This approach is applied to a language with numeric and reference values, and relies on the notion of abstract dependencies between program components (statements). The different forms of (backward) abstract slicing are added to an existing formal framework where traditional, non-abstract forms of slicing could be compared. The extended framework allows us to appreciate that abstract slicing is a generalization of traditional slicing, since traditional slicing (dealing with syntactic dependencies) is generalized by (semantic) non-abstract forms of slicing, which are actually equivalent to an abstract form where the identity abstraction is performed on data. Sound algorithms for computing abstract dependencies and a systematic characterization of program slices are provided, which rely on the notion of agreement between program states.

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

↑