paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automatically generating search heuristics for concolic testing

自动生成 concolic testing 的搜索启发式
ICSE Proceedings of the 40th International Conference on Software Engineering2018匹配度 4/10 · 论文属于软件测试/程序分析领域(concolic testing 的搜索启发式自动生成),与静态分析、程序覆盖与缺陷发现相关,属于用户研究方向的外围。但它既不涉及 LLM/Agent 与程序分析的交叉,也不涉及浮点程序分析或贝叶斯程序分析,未命中用户画像中的核心问题。引用 36 inbox
Sooyoung Cha, Seongjoon Hong, Junhee Lee, Hakjoo Oh
crossref: 2026-09-12

AI 速览

一句话:提出自动生成 concolic testing 搜索启发式的方法,通过参数化启发式搜索最优策略,提升覆盖率和缺陷发现。

Concolic testing 需要通过搜索启发式在有限时间预算内有效探索执行路径以提升覆盖率;但手工设计启发式困难,且常导致次优、不稳定结果。本文提出自动生成搜索启发式的方法:定义一类参数化启发式,并给出算法为每个被测程序高效寻找最优启发式。在开源 C 程序上的实验表明,自动生成的启发式在分支覆盖率和缺陷发现方面显著优于现有手工启发式。

问题
如何避免手工设计 concolic testing 搜索启发式导致的次优和不稳定,在有限时间预算内提升路径探索与代码覆盖率?
方法
定义参数化搜索启发式类别,并设计算法为每个目标程序高效搜索最优启发式。
评估
在开源 C 程序上评估分支覆盖率与 bug 发现,并与手工启发式比较,自动生成启发式显著更优。
原文摘要(Abstract)

We present a technique to automatically generate search heuristics for concolic testing. A key challenge in concolic testing is how to effectively explore the program's execution paths to achieve high code coverage in a limited time budget. Concolic testing 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 concolic testing by automatically generating search heuristics. We define a class of search heuristics, namely a parameterized heuristic, and present an algorithm that efficiently finds an optimal heuristic for each subject program. Experimental results with open-source C programs show that our technique successfully generates search heuristics that significantly outperform existing manually-crafted heuristics in terms of branch coverage and bug-finding.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4406,
  title = {Automatically generating search heuristics for concolic testing},
  author = {Sooyoung Cha and Seongjoon Hong and Junhee Lee and Hakjoo Oh},
  booktitle = {ICSE},
  year = {2018},
  doi = {10.1145/3180155.3180166}
}