Detecting Program Components With Equivalent Behaviors

  • Yang W
  • Horwitz S
  • Reps T
N/ACitations
Citations of this article
16Readers
Mendeley users who have this article in their library.

Abstract

The execution behavior of a program component is defined as the sequence of values produced at the component during program execution. This paper presents an efficient algorithm for detecting program components − in one or more pro- grams − that exhibit identical execution behaviors. The algorithm operates on a new graph representation for programs that combines features of static-single-assignment forms and program dependence graphs. The result provides insight into the relationship between execution behaviors and (control and flow) dependences in the program. The algorithm, called the Sequence-Congruence Algorithm, is applicable to programs written in a language that includes scalar vari- ables and constants, assignment statements, conditional statements, and while-loops. The Sequence-Congruence Algo- rithm can be used as the basis for an algorithm for integrating program variants.

Cite

CITATION STYLE

APA

Yang, W. U. U., Horwitz, S., & Reps, T. (1989). Detecting Program Components With Equivalent Behaviors. Program.

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free