arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1601.05850cs.SE
收藏

基于符号执行的虚拟样机回归测试

Regression Testing of Virtual Prototypes Using Symbolic Execution

Bin Lin, Dejun Qian

摘要:

近年来,虚拟平台和虚拟原型技术在电子企业中被广泛应用,以加速软件开发。实践证明,这些技术可以大大缩短产品上市时间,提高产品质量。一个挑战是如何测试和验证虚拟原型。在本文中,我们提出了如何进行回归测试的虚拟原型在不同版本中使用符号执行。假设我们有旧版本和新版本的虚拟原型,我们首先对新版本应用符号执行并收集所有路径约束。然后,收集路径约束用于指导旧版本的符号执行。对于探索的每个路径,我们比较两个版本之间的设备状态,以检查它们的行为是否相同。我们已经将这种方法应用于广泛使用的虚拟原型,并检测到许多差异。实验结果表明,该方法是有效的。

英文摘要:

Recently virtual platforms and virtual prototyping techniques have been widely applied for accelerating software development in electronics companies. It has been proved that these techniques can greatly shorten time-to-market and improve product quality. One challenge is how to test and validate a virtual prototype. In this paper, we present how to conduct regression testing of virtual prototypes in different versions using symbolic execution. Suppose we have old and new versions of a virtual prototype, we first apply symbolic execution to the new version and collect all path constraints. Then the collected path constraints are used for guiding the symbolic execution of the old version. For each path explored, we compare the device states between two versions to check if they behave the same. We have applied this approach to a widely-used virtual prototype and detected numerous differences. The experimental results show that our approach is useful and efficient.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑