arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1711.09362cs.SE
收藏

使用Munch提高函数覆盖率:一种混合模糊和定向符号执行方法

Improving Function Coverage with Munch: A Hybrid Fuzzing and Directed Symbolic Execution Approach

Saahil Ognawala, Thomas Hutzelmann, Eirini Psallida, Alexander Pretschner

摘要:

模糊和符号执行是用于发现漏洞和生成程序测试用例的流行技术。Fuzzing是一种改变种子输入值的黑盒方法,通常无法生成执行程序中所有路径的不同输入。由于路径爆炸问题和对SMT求解器的依赖,符号执行也可能无法实现高路径覆盖。涉及模糊和符号执行的混合技术可以比单独的模糊或符号执行实现更好的函数覆盖。在本文中,我们提出了蒙克,一个开源框架实现两种混合技术的基础上模糊和符号执行。我们的经验表明,使用九个大型的开源源程序,总体而言,蒙克实现更高的(深入)功能覆盖率比符号执行或模糊。使用指标的基础上,总分析时间和数量的查询发出的SMT求解器,我们还表明,蒙克是更有效地实现更好的功能覆盖。

英文摘要:

Fuzzing and symbolic execution are popular techniques for finding vulnerabilities and generating test-cases for programs. Fuzzing, a blackbox method that mutates seed input values, is generally incapable of generating diverse inputs that exercise all paths in the program. Due to the path-explosion problem and dependence on SMT solvers, symbolic execution may also not achieve high path coverage. A hybrid technique involving fuzzing and symbolic execution may achieve better function coverage than fuzzing or symbolic execution alone. In this paper, we present Munch, an open source framework implementing two hybrid techniques based on fuzzing and symbolic execution. We empirically show using nine large open-source programs that overall, Munch achieves higher (in-depth) function coverage than symbolic execution or fuzzing alone. Using metrics based on total analyses time and number of queries issued to the SMT solver, we also show that Munch is more efficient at achieving better function coverage.

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

↑