ON SLICING PROGRAMS WITH JUMP STATEMENTS

被引:0
作者
AGRAWAL, H [1 ]
机构
[1] BELLCORE,MORRISTOWN,NJ 07960
来源
SIGPLAN NOTICES | 1994年 / 29卷 / 06期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Program slices have potential uses in many software engineering applications. Traditional slicing algorithms, however, do not work correctly on programs that contain explicit jump statements. Two similar algorithms were proposed recently to alleviate this problem. Both require the flowgraph and the program dependence graph of the program to be modified. In this paper, we propose an alternative algorithm that leaves these graphs intact and uses a separate graph to store the additional required information. We also show that this algorithm permits an extremely efficient, conservative adaptation for use with programs that contain only ''structured'' jump statements.
引用
收藏
页码:302 / 312
页数:11
相关论文
共 50 条
[31]   Slicing concurrent Java']Java programs [J].
Zhao, JJ .
SEVENTH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 1999, :126-133
[32]   A Theory of Slicing for Imperative Probabilistic Programs [J].
Amtoft, Torben ;
Banerjee, Anindya .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2020, 42 (02)
[33]   Better slicing of programs with jumps and switches [J].
Kumar, S ;
Horwitz, S .
FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2002, 2306 :96-112
[34]   Slicing concurrent programs for model checking [J].
Dong, Wei ;
Wang, Ji ;
Qi, Zhi-Chang .
Jisuanji Xuebao/Chinese Journal of Computers, 2003, 26 (03) :266-274
[35]   Theory and algorithms for slicing unstructured programs [J].
Harman, Mark ;
Lakhotia, Arun ;
Binkley, David .
INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (07) :549-565
[36]   Slicing concurrent Java']Java programs [J].
Chen, ZQ ;
Xu, BW .
ACM SIGPLAN NOTICES, 2001, 36 (04) :41-47
[37]   Precise slicing of concurrent programsAn Evaluation of static slicing algorithms for concurrent programs [J].
Dennis Giffhorn ;
Christian Hammer .
Automated Software Engineering, 2009, 16
[38]   Benchmarking statements for programs in medical informatics? [J].
Haux, Reinhold .
METHODS OF INFORMATION IN MEDICINE, 2007, 46 (04) :393-393
[39]   Restructuring programs by tucking statements into functions [J].
Lakhotia, A ;
Deprez, JC .
INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (11-12) :677-689
[40]   Detecting dead statements for concurrent programs [J].
Chen, ZQ ;
Xu, BW ;
Yang, HJ .
FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, :65-72