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 条
  • [1] Program slicing based on data-flow computation of path dependence flow graphs
    Naoi, Kuniaki
    Takahashi, Naohisa
    Systems and Computers in Japan, 1997, 28 (11): : 22 - 33
  • [2] Supporting impact analysis by program dependence graph based forward slicing
    Korpi, Jaakko
    Koskinen, Jussi
    ADVANCES AND INNOVATIONS IN SYSTEMS, COMPUTING SCIENCES AND SOFTWARE ENGINEERING, 2007, : 197 - +
  • [3] Improved program dependence graph and algorithm for static slicing concurrent programs
    Xiao, JY
    Zhang, DY
    Chen, HQ
    Hao, D
    ADVANCED PARALLEL PROCESSING TECHNOLOGIES, PROCEEDINGS, 2005, 3756 : 121 - 130
  • [4] Extracting reusable functions by flow graph-based program slicing
    Lanubile, F
    Visaggio, G
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1997, 23 (04) : 246 - 259
  • [5] Variable Data-Flow Graph for Lightweight Program Slicing and Visualization
    Kashima, Yu
    Ishio, Takashi
    Etsuda, Shogo
    Inoue, Katsuro
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D (06): : 1194 - 1205
  • [6] Dependence-cache slicing: A program slicing method using lightweight dynamic information
    Takada, T
    Ohata, F
    Inoue, K
    10TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2002, : 169 - 177
  • [7] Slicing Java Generic Programs Using Generic System Dependence Graph
    CHEN Lin1
    2.Department of Computer Science and Technology
    WuhanUniversityJournalofNaturalSciences, 2009, 14 (04) : 304 - 308
  • [8] DETECTION OF UNFEASIBLE PATHS WITH A PATH-DEPENDENCE FLOW GRAPH
    NAOI, K
    TAKAHASHI, N
    SYSTEMS AND COMPUTERS IN JAPAN, 1994, 25 (10) : 1 - 14
  • [9] The program control flow graph and the test path automation generation for source program
    Liu, YS
    Huang, C
    Xu, RZ
    Proceedings of the 4th International Conference on Quality & Reliability, 2005, : 847 - 854
  • [10] Abstract program slicing on dependence condition graphs
    Halder, Raju
    Cortesi, Agostino
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (09) : 1240 - 1263