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

一种有效的Klee高级覆盖准则黑箱支持

An Efficient Black-Box Support of Advanced Coverage Criteria for Klee

Nicolas Berthier, Steven De Oliveira, Nikolai Kosmatov, Delphine Longuet, Romain Soulat

摘要:

动态符号执行(DSE)是一种基于被测程序路径空间探索的强大测试生成方法。这种方法非常适合于路径覆盖,但是对于条件、决策、高级覆盖标准(例如多个条件、弱突变、边界测试)或用户提供的测试目标效率较低。虽然已经提出了使DSE适应大量标准的理论解决方案,但它们从未被集成到公开可用的测试工具中。本文提出了一种先进的覆盖标准的优化测试生成策略到一个流行的开源测试工具DSE的基础上,即Klee的第一个集成。集成是以完全黑盒的方式执行的,因此可以激发轻松集成到其他类似工具中。该工具的最终版本名为Klee4labels,已公开发布。我们提出的设计所提出的技术,并评估它的几个基准。我们的研究结果证实了先进的覆盖标准所提出的工具的好处。

英文摘要:

Dynamic symbolic execution (DSE) is a powerful test generation approach based on an exploration of the path space of the program under test. Well-adapted for path coverage, this approach is however less efficient for conditions, decisions, advanced coverage criteria (such as multiple conditions, weak mutations, boundary testing) or user-provided test objectives. While theoretical solutions to adapt DSE to a large set of criteria have been proposed, they have never been integrated into publicly available testing tools. This paper presents a first integration of an optimized test generation strategy for advanced coverage criteria into a popular open-source testing tool based on DSE, namely, Klee. The integration is performed in a fully black-box manner, and can therefore inspire an easy integration into other similar tools. The resulting version of the tool, named Klee4labels, is publicly available. We present the design of the proposed technique and evaluate it on several benchmarks. Our results confirm the benefits of the proposed tool for advanced coverage criteria.

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

↑