A program integration algorithm that accommodates semantics-preserving transformations
- 1 July 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 1 (3) , 310-354
- https://doi.org/10.1145/131736.131756
Abstract
Given a program Base and two variants, A and B, each created by modifying separate copies of Base, the goal of program integration is to determine whether the modifications interfere, and if they do not, to create an integrated program that includes both sets of changes as well as the portions of Base preserved in both variants. Text-based integration techniques, such as the one used by the Unix diff3 utility, are obviously unsatisfactory because one has no guarantees about how the execution behavior of the integrated program relates to the behaviors of Base, A, and B. The first program-integration algorithm to provide such guarantees was developed by Horwitz et al.[13]. However, a limitation of that algorithm is that it incorporates no notion of semantics-preserving transformations. This limitation causes the algorithm to be overly conservative in its definition of interference. For example, if one variant changes the way a computation is performed (without changing the values computed) while the other variant adds code that uses the result of the computation, the algorithm would classify those changes as interfering. This paper describes a new integration algorithm that is able to accommodate semantics-preserving transformations.Keywords
This publication has 14 references indexed in Scilit:
- Efficient comparison of program slicesActa Informatica, 1991
- Integrating noninterfering versions of programsACM Transactions on Programming Languages and Systems, 1989
- Detecting interference when merging specification evolutionsPublished by Association for Computing Machinery (ACM) ,1989
- Composing recursive logic programs withClausal joinNew Generation Computing, 1988
- The program dependence graph and its use in optimizationACM Transactions on Programming Languages and Systems, 1987
- On merging software extensionsActa Informatica, 1986
- Variations on the Common Subexpression ProblemJournal of the ACM, 1980
- Program Improvement by Source-to-Source TransformationJournal of the ACM, 1977
- First version of a data flow procedure languagePublished by Springer Nature ,1974
- AN n log n ALGORITHM FOR MINIMIZING STATES IN A FINITE AUTOMATONPublished by Elsevier ,1971