Program slicing using a path dependence flow graph

被引:0
|
作者
Naoi, K
Takahashi, N
机构
[1] NTT Software Laboratories, Musashino
关键词
program analysis; dependence graph; program slice; imperative program; dataflow computation model;
D O I
10.1002/scj.4690271207
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A method that formally represents various program slices with a unified framework is presented; it uses a previously proposed directed graph called a path dependence flow graph (PDFG). Program slicing is a technique of extracting a set of statements (called slices) with certain desired features from an imperative program. The method proposed here has the following properties. (1) Since slices are represented by operations on dependence relationships defined on a PDFG, properties of slices such as an inclusion relationship among slices can be discussed independently of slicing procedures. (2) Since various slices are represented with the same framework, appropriate slices can be selected for specific purposes using one representation. (3) Since slices are generalized using orthogonal primitive attributes, slices can be represented comprehensively; this includes the ones for which there have been no known construction methods. It is also proven herein that major known slices and the slices represented by this method are identical as a set of statements, thereby demonstrating the appropriateness of this proposed method.
引用
收藏
页码:73 / 91
页数:19
相关论文
共 50 条
  • [31] Path slicing
    Jhala, R
    Majumdar, R
    ACM SIGPLAN NOTICES, 2005, 40 (06) : 38 - 47
  • [32] USING PROGRAM SLICING IN SOFTWARE MAINTENANCE
    GALLAGHER, KB
    LYLE, JR
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (08) : 751 - 761
  • [33] Fast Condensation of the Program Dependence Graph
    Johnson, Nick P.
    Oh, Taewook
    Zaks, Ayal
    August, David I.
    ACM SIGPLAN NOTICES, 2013, 48 (06) : 39 - 49
  • [34] A non-standard semantics for program slicing and dependence analysis
    Danicic, Sebastian
    Harman, Mark
    Howroyd, John
    Ouarbya, Lahcen
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2007, 72 (02): : 191 - 206
  • [35] A new foundation for control dependence and slicing for modern program structures
    Ranganath, Venkatesh Prasad
    Amtoft, Torben
    Banerjee, Anindya
    Hatcliff, John
    Dwyer, Matthew B.
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2007, 29 (05):
  • [36] Model Checking with Program Slicing Based on Variable Dependence Graphs
    Matsubara, Masahiro
    Sakurai, Kohei
    Narisawa, Fumio
    Enshoiwa, Masushi
    Yamane, Yoshio
    Yamanaka, Hisamitsu
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (105): : 56 - 68
  • [37] An approach to fault modeling and fault seeding using the program dependence graph
    Harrold, MJ
    Offutt, AJ
    Tewary, K
    JOURNAL OF SYSTEMS AND SOFTWARE, 1997, 36 (03) : 273 - 295
  • [38] Approach to fault modeling and fault seeding using the program dependence graph
    Ohio State Univ, Columbus, United States
    J Syst Software, 3 (273-295):
  • [39] Slicing objects using system dependence graphs
    Liang, DL
    Harrold, MJ
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, : 358 - 367
  • [40] Analyzing dependence locality for efficient construction of program dependence graph
    Ohata, F
    Nishimatsu, A
    Inoue, K
    INFORMATION AND SOFTWARE TECHNOLOGY, 2000, 42 (13) : 935 - 946