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

通过自动学习搜索启发式增强动态符号执行

Enhancing Dynamic Symbolic Execution by Automatically Learning Search Heuristics

Sooyoung Cha, Seongjoon Hong, Jingyoung Kim, Junhee Lee, Hakjoo Oh

摘要:

我们提出了一种技术,自动生成搜索引擎的动态符号执行。动态符号执行中的一个关键挑战是如何有效地探索程序的执行路径,以在有限的时间预算内实现高代码覆盖率。动态符号执行采用搜索启发式来解决这一挑战,这有利于探索最有可能最大化最终覆盖率的特定类型的路径。然而,手动设计一个好的搜索启发式是不平凡的,通常以次优和不稳定的结果结束。本文的目标是通过自动学习搜索策略来克服动态符号执行的这一缺点。我们定义了一类搜索启发式,即一个参数搜索启发式,并提出了一个算法,有效地找到一个最佳的启发式每个主题程序。使用工业强度符号执行工具(例如,KLEE)表明,我们的技术可以成功地生成搜索引擎,显着优于现有的手工制作的搜索引擎在分支覆盖率和错误发现方面。

英文摘要:

We present a technique to automatically generate search heuristics for dynamic symbolic execution. A key challenge in dynamic symbolic execution is how to effectively explore the program's execution paths to achieve high code coverage in a limited time budget. Dynamic symbolic execution employs a search heuristic to address this challenge, which favors exploring particular types of paths that are most likely to maximize the final coverage. However, manually designing a good search heuristic is nontrivial and typically ends up with suboptimal and unstable outcomes. The goal of this paper is to overcome this shortcoming of dynamic symbolic execution by automatically learning search heuristics. We define a class of search heuristics, namely a parametric search heuristic, and present an algorithm that efficiently finds an optimal heuristic for each subject program. Experimental results with industrial-strength symbolic execution tools (e.g., KLEE) show that our technique can successfully generate search heuristics that significantly outperform existing manually-crafted heuristics in terms of branch coverage and bug-finding.

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

↑