2009•Jisuanji yingyong yanjiuRequires access

Algorithm of program slicing based on reverse program flow

XU Man-wu

Open publisher page 1 citations

Abstract

The traditional method of program slicing was based on reachability algorithm of program dependence graph(PDG) and system dependence graph(SDG).However,to construct PDG and SDG,some data dependenced which were irrelevant to the slicing may be computed.The redundant computing wasted time and memory,and reduced slicing efficiency.To address this problem,this paper presented a slicing algorithm based on reverse program flow.It firstly constructed reverse flow of the program,then scaned the program along reverse flow from the slicing point,and only computed the data dependences which were relevant to slicing.So it improved slicing efficiency.The result of experiment shows this algorithm is feasible and practical.This algorithm can be used for generating slicing of imperative programs,such as Fortran and C program.

About this research paper

What this paper is about

The traditional method of program slicing was based on reachability algorithm of program dependence graph(PDG) and system dependence graph(SDG).However,to construct PDG and SDG,some data dependenced which were irrelevant to the slicing may be computed.The redundant computing wasted time and memory,and reduced slicing efficiency.To address this problem,this paper presented a slicing algorithm based on reverse program flow.It firstly constructed reverse flow of the program,then scaned the program along reverse flow from the slicing point,and only computed the data dependences which were relevant to slicing.So it improved slicing efficiency.The result of experiment shows this algorithm is feasible and practical.This algorithm can be used for generating slicing of imperative programs,such as Fortran and C program.

Why it matters

OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

The traditional method of program slicing was based on reachability algorithm of program dependence graph(PDG) and system dependence graph(SDG).However,to construct PDG and SDG,some data dependenced which were irrelevant to the slicing may be computed.The redundant computing wasted time and memory,and reduced slicing efficiency.To address this problem,this paper presented a slicing algorithm based on reverse program flow.It firstly constructed reverse flow of the program,then scaned the program along reverse flow from the slicing point,and only computed the data dependences which were relevant to slicing.So it improved slicing efficiency.The result of experiment shows this algorithm is feasible and practical.This algorithm can be used for generating slicing of imperative programs,such as Fortran and C program.

Key concepts: Program slicing, Slicing, Computer science, Reachability, Control flow graph, Data-flow analysis, Algorithm, Graph

Related papers

Back to paper searchBrowse research topicsOriginal source
Algorithm of program slicing based on reverse program flow — Research Paper | ScholarLens