kirancodes.me
To Proof Maintenance & Beyond!

Identifying the Semantic and Textual Differences Between Two Versions of a Program

Susan Horwitz

Abstract

Text-based file comparators (e.g., the Unix utility diff), are very general tools that can be applied to arbitrary files. However, using such tools to compare programs can be unsatisfactory because their only notion of change is based on program text rather than program behavior. This paper describes a technique for comparing two versions of a program, determining which program components represents changes, and classifying each changed component as representing either a semantic or a textual change.

Related papers