Method and apparatus for automatically isolating minimal distinguishing stimuli in design verification and software development
First Claim
Patent Images
1. A method of debugging software comprising:
- obtaining a software module;
obtaining a first input test vector;
obtaining a bug list;
generating a first output vector by applying said first input test vector to said software module;
applying a comparison test to said first output vector to determine whether a bug exists in said software module;
applying a module decomposition test to said software module when the result of said comparison test is positive; and
appending said software module and said first input test vector to said bug list when the result of said module decomposition test is negative.
2 Assignments
0 Petitions
Accused Products
Abstract
The invention provides a method for detecting and isolating software bugs and generating a minimal set of stimuli to reproduce the bugs. The present invention utilizes a recursive algorithm to compare the output of successively smaller software blocks of a program in development to a verified output sample. The smallest software blocks which are found to contain a bug are isolated. For each of these isolated blocks, the smallest input vector is determined such that the application of this vector to the block expresses the bug. The present invention utilizes a separate recursive algorithm to determine these minimal vectors.
-
Citations
8 Claims
-
1. A method of debugging software comprising:
-
obtaining a software module;
obtaining a first input test vector;
obtaining a bug list;
generating a first output vector by applying said first input test vector to said software module;
applying a comparison test to said first output vector to determine whether a bug exists in said software module;
applying a module decomposition test to said software module when the result of said comparison test is positive; and
appending said software module and said first input test vector to said bug list when the result of said module decomposition test is negative. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification