DocumentCode :
2430494
Title :
Some notes on interprocedural program slicing
Author :
Gallagher, K.B.
Author_Institution :
Dept. of Comput. Sci., Durham Univ., UK
fYear :
2004
fDate :
15-16 Sept. 2004
Firstpage :
36
Lastpage :
42
Abstract :
Weiser\´s algorithm for computing interprocedural slices has a serious drawback: it generates spurious criteria which are not feasible in the control flow of the program. When these extraneous criteria are used the slice becomes imprecise in that it has statements that are not relevant to the computation. Horwitz, Reps and Binkley solved this problem by devising the system dependence graph with an associated algorithm that produced more precise interprocedural slices. We take a "step backward\´\´ and show how to generate exactly the interprocedural slicing criteria needed, using the program\´s call graph or a stack. This technique can also be used on a family of program dependence graphs that represent all procedures in a program and are not interconnected by a system dependence graph. Then we show how to use the Horwitz, Reps and Binkley interprocedural slicing algorithm to generate criteria and show that the criteria so generated are equal to those generated by the call-graph/stack technique. Thus we present alternative, equivalent ways to generate precise slicing criteria across procedure boundaries. And finally we show that under certain circumstances. Weiser\´s technique for slicing across procedures is a bit "too strong," for it always generates sufficient criteria to obtain the entire program as a slice on any criteria.
Keywords :
data flow graphs; program slicing; Weiser algorithm; interprocedural program slicing; interprocedural slicing algorithm; program call graph; program control flow; program dependence graphs; system dependence graph; Application software; Computer science; Conferences; Control systems; Data structures; Educational institutions; Production; Software engineering; Writing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation, 2004. Fourth IEEE International Workshop on
Print_ISBN :
0-7695-2144-4
Type :
conf
DOI :
10.1109/SCAM.2004.21
Filename :
1386157
Link To Document :
بازگشت