Patent · US Expired

Method and system for generating a computer program test suite using dynamic symbolic execution

US5761408A · kind A · utility

124Cited by
2References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 12, 1996
Grant dateJun 2, 1998
Priority date
Expiry dateFeb 12, 2016

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3688
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method and system for generating a test suite for a computer program. The computer program comprises program statements and program variables, including at least one input statement having one or more input variables, that are grouped into code blocks and stored in a program database. The test suite comprises sets of inputs. Each of the sets of inputs corresponds to each of the input statements. The program statements corresponding to a candidate code block are read from the program database. Each of the input variables for each input statement and each of the program variables are represented in symbolic form as a symbolic memory value and transforming each program statement dependent on such an input variable into a symbolic expression. A trial set of inputs for each of the input statements is created by finding a solution to the symbolic expression comprising actual input values corresponding to each symbolic memory value using dynamic symbolic exeuction. An execution run of the computer program is performed using the trial set of inputs and analyzing results obtained from the execution run for coverage of the candidate code block. The trial set of inputs are stored into the t…

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.