Speeding up slicing

  • Authors:
  • Thomas Reps;Susan Horwitz;Mooly Sagiv;Genevieve Rosay

  • Affiliations:
  • Computer Sciences Department, Univ. of Wisconsin, 1210 West Dayton Street, Madison, WI and Datalogisk Institut, University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen East, Denmark;Computer Sciences Department, Univ. of Wisconsin, 1210 West Dayton Street, Madison, WI and Datalogisk Institut, University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen East, Denmark;Computer Sciences Department, Univ. of Wisconsin, 1210 West Dayton Street, Madison, WI and Datalogisk Institut, University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen East, Denmark and ...;Computer Sciences Department, Univ. of Wisconsin, 1210 West Dayton Street, Madison, WI

  • Venue:
  • SIGSOFT '94 Proceedings of the 2nd ACM SIGSOFT symposium on Foundations of software engineering
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

Program slicing is a fundamental operation for many software engineering tools. Currently, the most efficient algorithm for interprocedural slicing is one that uses a program representation called the system dependence graph. This paper defines a new algorithm for slicing with system dependence graphs that is asymptotically faster than the previous one. A preliminary experimental study indicates that the new algorithm is also significantly faster in practice, providing roughly a 6-fold speedup on examples of 348 to 757 lines.