Dependence-cache slicing: A program slicing method using lightweight dynamic information

被引:13
|
作者
Takada, T [1 ]
Ohata, F [1 ]
Inoue, K [1 ]
机构
[1] Osaka Univ, Grad Sch Engn Sci, Dept Informat, Osaka, Japan
关键词
D O I
10.1109/WPC.2002.1021338
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 a slice size by 30-90% from static slice size with an increased and affordable run-time overhead, even for programs using array variables. In the future, the dependence-cache slicing will become an important feature for effective debugging environments.
引用
收藏
页码:169 / 177
页数:9
相关论文
共 50 条
  • [1] A program slicing method using lightweight dynamic information
    Takada, Tomonori
    Inoue, Katsuro
    Ohata, Fumiaki
    Ashida, Yoshiyuki
    [J]. ELECTRONICS AND COMMUNICATIONS IN JAPAN PART II-ELECTRONICS, 2006, 89 (11): : 60 - 67
  • [2] A slicing method for object-oriented programs using lightweight dynamic information
    Ohata, F
    Hirose, K
    Fujii, M
    Inoue, K
    [J]. APSEC 2001: EIGHTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 273 - 280
  • [3] DYNAMIC PROGRAM SLICING
    AGRAWAL, H
    HORGAN, JR
    [J]. SIGPLAN NOTICES, 1990, 25 (06): : 246 - 256
  • [4] DYNAMIC PROGRAM SLICING
    KOREL, B
    LASKI, J
    [J]. INFORMATION PROCESSING LETTERS, 1988, 29 (03) : 155 - 163
  • [5] Program slicing using a path dependence flow graph
    Naoi, K
    Takahashi, N
    [J]. SYSTEMS AND COMPUTERS IN JAPAN, 1996, 27 (12) : 73 - 91
  • [6] A HYBRID DYNAMIC PROGRAM SLICING
    Yi Tong Wu Fangjun (Laboratory of Computer Center
    [J]. Journal of Electronics(China), 2005, (02) : 197 - 200
  • [7] A HYBRID DYNAMIC PROGRAM SLICING
    Yi Tong Wu Fangjun Laboratory of Computer Center Yichun University Yichun China
    [J]. Journal of Electronics., 2005, (02) - 200
  • [8] Dynamic program slicing methods
    Korel, B
    Rilling, J
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (11-12) : 647 - 659
  • [9] Using conditioned slicing and amorphous slicing in program comprehension
    Shi, Shenghui
    Zhu, Qunxiong
    Xu, Wenxing
    [J]. 2008 PROCEEDINGS OF INFORMATION TECHNOLOGY AND ENVIRONMENTAL SYSTEM SCIENCES: ITESS 2008, VOL 4, 2008, : 108 - 111
  • [10] A formal method for program slicing
    Zhang, YZ
    Xu, BW
    Gayo, JEL
    [J]. 2005 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2005, : 140 - 148