Title :
Algorithm for Control Dependence Subgraph Construction
Author_Institution :
Sch. of Comput., Wuhan Univ., Wuhan, China
Abstract :
Program slicing provides a new way to software maintenance, program understanding. It can give the programmer the statements only relevant to the computation of a given function. It can transform a large program into a smaller one. In this paper, we present a new algorithm to produce Control Dependence SubGraph which is used in Program slicing. The Control Dependence SubGraph is used to collect the control dependence of the statements. The Data Dependence Subgraph is used to collect the data dependence of the statements. With these two subgraphs we can construct the Program Dependence Graph and compute the program slice through traversing the Program Dependence Graph. The algorithm uses an input called F(p) which models each program in the form of an algebraic expression.
Keywords :
computer graphics; program slicing; reverse engineering; software maintenance; algebraic expression; control dependence subgraph construction; data dependence subgraph; program dependence graph; program slicing; program understanding; software maintenance; Application software; Debugging; Flow graphs; Information technology; Law; Programming profession; Software algorithms; Software engineering; Software maintenance; Testing; Algebraic expression; Control Dependence Subgraph; F(p); Program Dependence Graph; Program slicing;
Conference_Titel :
Information Technology and Applications, 2009. IFITA '09. International Forum on
Conference_Location :
Chengdu
Print_ISBN :
978-0-7695-3600-2
DOI :
10.1109/IFITA.2009.564