Generating Test Data for Dynamically Discovering Likely Program Invariants
Generating Test Data for Dynamically Discovering Likely Program Invariants
复制标题
生成测试数据以动态发现可能的程序不变量
DOI:
--
复制
发表时间:
2003
期刊:
影响因子:
--
通讯作者:
Neelam Gupta
中科院分区:
文献类型:
--
作者:
Neelam Gupta
Dynamic detection of program invariants is emerging as an important research area with many challenging problems. As with any dynamic approach, the accuracy of dynamic discovery of likely program invariants depends on the quality of test cases used to detect invariants. Therefore, generating suitable test cases that support accurate detection of program invariants is crucial to the dynamic approach for invariant detection. In this paper, we explore new directions in using the existing test data generation techniques to improve the accuracy of dynamically detected program invariants. First we discuss the augmentation of existing test suites to improve the accuracy of dynamically discovered invariants. The augmentation of the test suite may be done prior to running the dynamic analysis if the variables and expressions whose values will be monitored at runtime are known in advance. On the other hand, the dynamic analysis may be run first using an available test suite to obtain an initial guess of program invariants. These guessed invariants may then be used to generate test cases to augment the test suite. We also propose the use of existing test data generation techniques in improving the accuracy of invariants guessed using an already available test suite.