A denotational interprocedural program slicer

被引:11
作者
Ouarbya, L [1 ]
Danicic, S [1 ]
Daoudi, M [1 ]
Harman, M [1 ]
Fox, C [1 ]
机构
[1] Univ London Goldsmiths Coll, London SE14 6NW, England
来源
NINTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS | 2002年
关键词
interprocedural; program slicing; side-effects; WSL;
D O I
10.1109/WCRE.2002.1173076
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper extends a previously developed intraprocedural denotational program slicer to handle procedures. Using the denotational approach, slices can be defined in terms of the abstract syntax of the object language without the need of a control flow graph or similar intermediate structure. The algorithm presented here is capable of correctly handling the interplay between function and procedure calls, side-effects, and short-circuit expression evaluation. The ability to deal with these features is required in reverse engineering of legacy systems, where code often contains side-effects.
引用
收藏
页码:181 / 189
页数:9
相关论文
共 43 条
[1]   DEBUGGING WITH DYNAMIC SLICING AND BACKTRACKING [J].
AGRAWAL, H ;
DEMILLO, RA ;
SPAFFORD, EH .
SOFTWARE-PRACTICE & EXPERIENCE, 1993, 23 (06) :589-616
[2]  
BECK J, 1993, IEEE ACM 15 C SOFTW, P509
[3]   MEASURING FUNCTIONAL COHESION [J].
BIEMAN, JM ;
OTT, LM .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (08) :644-657
[4]  
Binkley D., 1995, ACM Transactions on Software Engineering and Methodology, V4, P3, DOI 10.1145/201055.201056
[5]   The application of program slicing to regression testing [J].
Binkley, D .
INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (11-12) :583-594
[6]  
Binkley D., 1996, Advances in Computers, V43, P1
[7]   RE(2) - REVERSE-ENGINEERING AND REUSE REENGINEERING [J].
CANFORA, G ;
CIMITILE, A ;
MUNRO, M .
JOURNAL OF SOFTWARE MAINTENANCE-RESEARCH AND PRACTICE, 1994, 6 (02) :53-72
[8]  
CANFORA G, 1994, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, P424, DOI 10.1109/ICSM.1994.336752
[9]  
Cimitile A, 1996, J SOFTW MAINT-RES PR, V8, P145, DOI 10.1002/(SICI)1096-908X(199605)8:3<145::AID-SMR127>3.0.CO
[10]  
2-9