A new structural coverage criterion for dynamic detection of program invariants
A new structural coverage criterion for dynamic detection of program invariants
复制标题
程序不变量动态检测的新结构覆盖标准
DOI:
--
复制
发表时间:
2003
期刊:
影响因子:
--
通讯作者:
Zachary V. Heidepriem
中科院分区:
文献类型:
--
作者:
Neelam Gupta;Zachary V. Heidepriem
Dynamic detection of program invariants is emerging as an important research area with many challenging problems. Generating suitable test cases that support accurate detection of program invariants is crucial to the dynamic approach of program invariant detection. In this paper, we propose a new structural coverage criterion called invariant-coverage criterion for dynamic detection of program invariants. We also show how the invariant-coverage criterion can be used to improve the accuracy of dynamically detected invariants. We first used the Daikon tool to report likely program invariants using the branch coverage and all definition-use pair coverage test suites for several programs. We then generated invariant-coverage suites for these likely invariants. When Daikon was run with the invariant-coverage suites, several spurious invariants reported earlier by the branch coverage and definition-use pair coverage test suites were removed from the reported invariants. Our approach also produced more meaningful invariants than randomly generated test suites.