Shadow of a Doubt: Testing for Divergences between Software Versions
Shadow of a Doubt: Testing for Divergences between Software Versions
复制标题
怀疑的阴影:测试软件版本之间的差异
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Cristian Cadar
中科院分区:
文献类型:
--
作者:
H. Palikareva;Tomasz Kuchta;Cristian Cadar
While developers are aware of the importance of comprehensively testing patches, the large effort involved in coming up with relevant test cases means that such testing rarely happens in practice. Furthermore, even when test cases are written to cover the patch, they often exercise the same behaviour in the old and the new version of the code. In this paper, we present a symbolic execution-based technique that is designed to generate test inputs that cover the new program behaviours introduced by a patch. The technique works by executing both the old and the new version in the same symbolic execution instance, with the old version shadowing the new one. During this combined shadow execution, whenever a branch point is reached where the old and the new version diverge, we generate a test case exercising the divergence and comprehensively test the new behaviours of the new version. We evaluate our technique on the Coreutils patches from the CoREBench suite of regression bugs, and show that it is able to generate test inputs that exercise newly added behaviours and expose some of the regression bugs.
DOI:
10.1145/2591062.2591104
发表时间:
2014
期刊:
--
影响因子:
--
作者:
Cadar C
通讯作者:
Cadar C
DOI:
10.1145/2610384.2610419
发表时间:
2014
期刊:
--
影响因子:
--
作者:
Marinescu P
通讯作者:
Marinescu P