DocumentCode
2010167
Title
Dependence-cache slicing: a program slicing method using lightweight dynamic information
Author
Takada, Tomonori ; Ohata, Fumiaki ; Inoue, Katsuro
Author_Institution
Dept. of Informatics, Osaka Univ., Japan
fYear
2002
fDate
2002
Firstpage
169
Lastpage
177
Abstract
When we try to debug or to comprehend a large program, it is important to separate suspicious program portions from the overall source program. Program slicing is a promising technique used to extract a program portion; however, such slicing sometimes raises difficulties. Static slicing sometimes produces a large portion of a source program, especially for programs with array and pointer variables, and dynamic slicing requires unacceptably large run-time overhead. In this paper, we propose a slicing method named "dependence-cache slicing", which uses both static and dynamic information. An algorithm has been implemented in our experimental slicing system, and execution data for several sample programs have been collected The results show that dependence-cache slicing reduces the slice size by 30-90% compared with the static slice size, with an increased and affordable run-time overhead, even for programs using array variables. In the future, dependence-cache slicing will become an important feature for effective debugging environments.
Keywords
abstract data types; cache storage; program debugging; program slicing; array variables; dependence-cache slicing; dynamic slicing; execution data collection; lightweight dynamic information; pointer variables; program comprehension; program debugging environments; program slicing method; runtime overhead; slice size; static information; suspicious program portions extraction; Conferences; Data mining; Debugging; Informatics; Runtime; Sections; Software maintenance; Software testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Program Comprehension, 2002. Proceedings. 10th International Workshop on
ISSN
1092-8138
Print_ISBN
0-7695-1495-2
Type
conf
DOI
10.1109/WPC.2002.1021338
Filename
1021338
Link To Document