DYNAMIC SLICING OF COMPUTER-PROGRAMS

被引:110
作者
KOREL, B
LASKI, J
机构
[1] WAYNE STATE UNIV,DEPT COMP SCI,DETROIT,MI 48202
[2] OAKLAND UNIV,DEPT COMP SCI & ENGN,ROCHESTER,MI 48063
基金
美国国家科学基金会;
关键词
D O I
10.1016/0164-1212(90)90094-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Program slicing is a useful tool in program debugging [25, 26]. Dynamic slicing introduced in this paper differs from the original static slicing in that it is defined on the basis of a computation. A dynamic program slice is an executable part of the original program that preserves part of the program's behavior for a specific input with respect to a subset of selected variables, rather than for all possible computations. As a result, the size of a slice can be significantly reduced. Moreover, the approach allows us to treat array elements and fields in dynamic records as individual variables. This leads to a further reduction of the slice size.
引用
收藏
页码:187 / 195
页数:9
相关论文
共 27 条
[1]  
Aho A. V., 1977, PRINCIPLES COMPILER
[2]   PRACTICAL INTER-PROCEDURAL DATA FLOW ANALYSIS ALGORITHM [J].
BARTH, JM .
COMMUNICATIONS OF THE ACM, 1978, 21 (09) :724-736
[3]   INFORMATION-FLOW AND DATA-FLOW ANALYSIS OF WHILE-PROGRAMS [J].
BERGERETTI, JF ;
CARRE, BA .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1985, 7 (01) :37-61
[4]   AIDA - A DYNAMIC DATA FLOW ANOMALY DETECTION SYSTEM FOR PASCAL PROGRAMS [J].
CHAN, FT ;
CHEN, TY .
SOFTWARE-PRACTICE & EXPERIENCE, 1987, 17 (03) :227-239
[5]   CERTIFICATION OF PROGRAMS FOR SECURE INFORMATION-FLOW [J].
DENNING, DE ;
DENNING, PJ .
COMMUNICATIONS OF THE ACM, 1977, 20 (07) :504-513
[6]  
FOSDICK LD, 1976, COMPUT SURV, V8, P305, DOI 10.1145/356674.356676
[7]  
Hecht Matthew S., 1977, FLOW ANAL COMPUTER P
[8]   DETECTION OF DATA FLOW ANOMALY THROUGH PROGRAM INSTRUMENTATION [J].
HUANG, JC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1979, 5 (03) :226-236
[9]  
Jones C. B, 1980, SOFTWARE DEV RIGOROU
[10]  
Kennedy K., 1976, SIAM Journal on Computing, V5, P158, DOI 10.1137/0205014