Chopping: A Generalization of Slicing

Abstract

A new method for extracting partial representations of a program is described. Given two sets of variable instances, source and sink, a graph is constructed showing the statements that cause definitions of source to affect uses of sink. This criterion can express a wider range of queries than the various forms of slice criteria, which it subsumes as special cases. On the standard slice criterion (backward slicing from a use or definition) it produces better results than existing algorithms. The method is modular. By treating all statements abstractly as def-use relations, it can present a procedure call as a simple statement, so that it appears in the graph as a single node whose role may be understood without looking beyond the context of the call

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jul 01, 1994
Accession Number
ADA282683

Entities

People

  • Daniel Jackson
  • Eugene J. Rollins

Organizations

  • Carnegie Mellon University

Tags

DTIC Thesaurus Topics

  • Algorithms
  • Artificial Intelligence
  • Computer Programming
  • Computer Science
  • Computers
  • Databases
  • Debugging
  • Engineering
  • Language
  • Programming Languages
  • Relational Databases
  • Reverse Engineering
  • Side Effects
  • Software Development
  • Software Testing
  • Standards
  • United States

Fields of Study

  • Computer science

Readers

  • Graph Algorithms and Convex Optimization.
  • Theoretical Analysis.