Patent · US Expired

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

US5784553A · kind A · utility

175Cited by
2References
26Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 30, 1997
Grant dateJul 21, 1998
Priority date
Expiry dateApr 30, 2017

Classification

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

Abstract

A method and system for generating a test suite for a computer program written in the JAVA programming language. The JAVA program comprises program statements and program variables represented as JAVA source code and compiled by a JAVA compiler into JAVA bytecodes, 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 a pth in the program. 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 that depend on them 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 obtained using dynamic symbolic execution. The trial set of inputs are stored into the test suite if coverage of the candidate code block was obtained. A dynamic symbolic execution consists of a symbol…

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