paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Template-guided concolic testing via online learning

通过在线学习实现的模板引导 concolic 测试
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 3/10 · 论文属于程序分析与机器学习交叉的 concolic testing,但与用户核心方向“LLM/Agent 改进静态分析/形式化验证”或“面向 ML/Agentic 程序的静态分析”不同;其在线学习模板并非 LLM/Agent 驱动,也未涉及浮点或贝叶斯程序分析。引用 15 inbox
Sooyoung Cha, Seonho Lee, Hakjoo Oh
crossref: 2026-09-12

AI 速览

一句话:提出模板引导的 concolic 测试,用在线学习自动获取可缩减搜索空间的输入模板,提升分支覆盖率与缺陷发现能力。

本文针对 concolic 测试中的路径爆炸问题提出模板引导的 concolic 测试。作者指出,仅依赖搜索启发式难以显著提升真实程序的分支覆盖率,因此希望以模板来补充已有技术。这里的模板是一个部分符号化的输入向量,其作用是约束和缩小符号执行的搜索空间;但如何选择合适的模板集合并不显然,且直接影响最终效果。为此,论文提出一种在线学习算法,利用此前 concolic 测试运行中收集的数据自动学习有用的模板,从而在测试过程中动态改进搜索。作者在多个开源程序上进行了实验,结果显示该方法相比传统 concolic 测试取得了更高的分支覆盖率,并能更有效地发现程序缺陷。

问题
concolic 测试面临严重的路径爆炸问题,已有的搜索启发式单独使用时难以在真实程序上实质性提升代码覆盖率。
方法
引入模板(部分符号化的输入向量)来缩减搜索空间,并提出在线学习算法,依据历史 concolic 测试运行数据自动学习有用的模板集合。
评估
在开源程序上开展实验,与常规 concolic 测试对比,表明该方法获得更高的分支覆盖率并能更有效地发现 bug。
原文摘要(Abstract)

We present template-guided concolic testing, a new technique for effectively reducing the search space in concolic testing. Addressing the path-explosion problem has been a significant challenge in concolic testing. Diverse search heuristics have been proposed to mitigate this problem but using search heuristics alone is not sufficient to substantially improve code coverage for real-world programs. The goal of this paper is to complement existing techniques and achieve higher coverage by exploiting templates in concolic testing. In our approach, a template is a partially symbolized input vector whose job is to reduce the search space. However, choosing a right set of templates is nontrivial and significantly affects the final performance of our approach. We present an algorithm that automatically learns useful templates online, based on data collected from previous runs of concolic testing. The experimental results with open-source programs show that our technique achieves greater branch coverage and finds bugs more effectively than conventional concolic testing.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4794,
  title = {Template-guided concolic testing via online learning},
  author = {Sooyoung Cha and Seonho Lee and Hakjoo Oh},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3238227}
}