Precise Slicing in Imperative Programs via Term-Rewriting and Abstract Interpretation

被引:0
|
作者
Komondoor, Raghavan [1 ]
机构
[1] Indian Inst Sci, Bangalore 560012, Karnataka, India
来源
STATIC ANALYSIS, SAS 2013 | 2013年 / 7935卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a new approach for producing precise constrained slices of programs in a language such as C. We build upon a previous approach for this problem, which is based on term-rewriting, which primarily targets loop-free fragments and is fully precise in this setting. We incorporate abstract interpretation into term-rewriting, using a given arbitrary abstract lattice, resulting in a novel technique for slicing loops whose precision is linked to the power of the given abstract lattice. We address pointers in a first-class manner, including when they are used within loops to traverse and update recursive data structures. Finally, we illustrate the comparative precision of our slices over those of previous approaches using representative examples.
引用
收藏
页码:259 / 282
页数:24
相关论文
共 9 条