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 条
  • [21] INTERPROCEDURAL SLICING USING DEPENDENCE GRAPHS
    HORWITZ, S
    REPS, T
    BINKLEY, D
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1990, 12 (01): : 26 - 60
  • [22] Interprocedural slicing using dependence graphs
    Horwitz, S
    Reps, T
    Binkley, D
    ACM SIGPLAN NOTICES, 2004, 39 (04) : 229 - 231
  • [23] INTERPROCEDURAL SLICING USING DEPENDENCE GRAPHS
    HORWITZ, S
    REPS, T
    BINKLEY, D
    SIGPLAN NOTICES, 1988, 23 (07): : 35 - 46
  • [24] Path testing based on program graph
    Lun, Lijun
    Song, Yibo
    Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 19 (07): : 74 - 77
  • [25] Path Sensitive Analysis based on Dataflow Information and Program Slicing
    Guo, Xi
    PROCEEDINGS OF 2014 IEEE WORKSHOP ON ADVANCED RESEARCH AND TECHNOLOGY IN INDUSTRY APPLICATIONS (WARTIA), 2014, : 875 - 877
  • [26] Type slicing: An accurate object oriented slicing based on sub-statement level dependence graph
    Wang Lulu
    Li Bixin
    Kong Xianglong
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 127
  • [27] Using Relational Verification for Program Slicing
    Beckert, Bernhard
    Bormer, Thorsten
    Gocht, Stephan
    Herda, Mihai
    Lentzsch, Daniel
    Ulbrich, Mattias
    SOFTWARE ENGINEERING AND FORMAL METHODS (SEFM 2019), 2019, 11724 : 353 - 372
  • [28] Using program slicing to simplify testing
    Harman, Mark
    Danicic, Sebastian
    Software Testing Verification and Reliability, 1995, 5 (03) : 143 - 162
  • [29] Using program slicing in software maintenance
    Gallagher, Keith Brian, 1600, (17):
  • [30] Debugging support for aspect-oriented program based on program slicing and call graph
    Ishio, T
    Kusumoto, S
    Inoue, K
    20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2004, : 178 - 187