Program Slicing and its Applications

9/21/2000


Click here to start


Table of Contents

Program Slicing and its Applications

Part Three Slicing for Software Reuse

Problem with software reuse

An alternative approach

Essential capability

Underlying problems

Needed capability

Transform slicing

Assumptions

Problems with slicing criterion

A new approach

The goal of this paper

Language dependency

A walk in a graph

Comment

Hammock graph

Forward domination

Control graph

Conditioned statement

Example

Example program

PPT Slide

Define/Use graph

Comment

Example

PPT Slide

An observation

Classic slices

Slicing criterion

Slices

Relevant variable

Notational convention

Explanation

Relevant statements

Control statements

Indirect influence

Indirect influence

Indirect influence

The full definition

Example

Example program

PPT Slide

PPT Slide

PPT Slide

Transform slice

The difference

The role of Vinp and Vout

Relevant variables

Relevant statements

Conditional statements

The full definition

Example

Example program

PPT Slide

Author: J. C. Huang

Email: jhuang@cs.uh.edu

Home Page: www.cs.uh.edu/~jhuang