A program integration algorithm that accommodates semantics-preserving transformations

Wuu Yang,Susan Horwitz, Thomas W. Reps

ACM Sigsoft Software Engineering Notes(1992)

引用 91|浏览35
暂无评分
摘要
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, Prins, and Reps. 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.
更多
查看译文
关键词
text-based integration technique,control dependence,semantics-preserving transformation,program base,program integration algorithm,unix diff3 utility,program integration,execution behavior,integrated program,data dependence,data-flow analysis,program dependence graph,flow dependence,program representation graph,program-integration algorithm,static-single-assignment form,variant change,coarsest partition,new integration algorithm
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要