Title :
Effects of pointers on data dependences
Author :
Orso, Alessandro ; Sinha, Saurabh ; Harrold, Mary Jean
Author_Institution :
Coll. of Comput., Georgia Inst. of Technol., Atlanta, GA, USA
Abstract :
This paper presents a technique for computing and classifying data dependences that takes into account the complexities introduced by specific language constructs, such as pointers, arrays and structures. The classification is finer-grained than previously proposed classifications. Moreover unlike previous work, the paper presents empirical results that illustrate the distribution of data dependences for a set of C subjects. The paper also presents a potential application for the proposed classification, program slicing, and a technique that completes slices based on data-dependence types. This technique facilitates the use of slicing for program understanding because a user can either augment a slice incrementally, by incorporating data dependences based on their relevance, or focus on specific kinds of dependences. Finally, the paper presents a case study that shows how the incremental addition of data dependences allows for growing the size of the slices in steps
Keywords :
C language; data structures; program control structures; program slicing; reverse engineering; C language; arrays; classifications; data dependence types; data dependences; pointers; program slicing; program understanding; Algorithm design and analysis; Availability; Data analysis; Educational institutions; Reverse engineering; Taxonomy;
Conference_Titel :
Program Comprehension, 2001. IWPC 2001. Proceedings. 9th International Workshop on
Conference_Location :
Toronto, Ont.
Print_ISBN :
0-7695-1131-7
DOI :
10.1109/WPC.2001.921712