paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Topseed: Learning Seed Selection Strategies for Symbolic Execution from Scratch

TopSeed:从零学习符号执行的种子选择策略
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 4/10 · 该论文将在线学习用于符号执行的种子选择,属于机器学习与程序分析/测试的交叉,但用户的核心方向是 LLM/Agent 改进静态分析与形式化验证,或浮点/贝叶斯程序分析与 LLM 的交叉;本文不涉及 LLM、Agentic 程序、浮点或贝叶斯分析,因此仅为宽泛相关。引用 0 inbox
Jaehyeok Lee, Sooyoung Cha
crossref: 2026-09-12

AI 速览

一句话:提出 TopSeed,用在线学习从候选输入自动选择种子,提升符号执行的覆盖率与缺陷发现能力。

符号执行的搜索策略与状态剪枝技术已显著提升其性能,但种子选择(seeding)——为探索高效初始化程序状态——常被忽视,且通常需要预定义种子语料。TopSeed 无需预定义种子语料,能从与任意符号执行技术交互中产生的候选输入里自动选择高价值种子。针对候选数量庞大的挑战,它采用定制的在线学习算法,迭代地对候选输入分组、排序,并从最高排名组中选出种子,利用符号执行过程中积累的数据。在 17 个开源 C 程序上,TopSeed 显著增强了基于两个符号执行器实现的四种前沿技术,在分支覆盖率和缺陷发现能力上均有提升。

问题
符号执行的搜索策略与状态剪枝已很有效,但种子选择常被忽视且依赖预定义种子语料,未能最大化现有技术效果。
方法
TopSeed 从符号执行交互产生的候选输入中自动选种,并用定制在线学习算法对候选分组、排序,从最高排名组中选种。
评估
在 17 个开源 C 程序上,TopSeed 增强了两个符号执行器上的四种先进技术,提升了分支覆盖率和缺陷发现能力。
原文摘要(Abstract)

We present TopSeed, a new approach that automatically selects optimal seeds to enhance symbolic execution. Recently, the performance of symbolic execution has significantly improved through various state-of-the-art techniques, including search strategies and state-pruning heuristics. However, these techniques have typically demonstrated their effectiveness without considering “seeding”, which efficiently initializes program states for exploration. This paper aims to select valuable seeds from candidate inputs generated during interactions with any symbolic execution technique, without the need for a predefined seed corpus, thereby maximizing the technique's effectiveness. One major challenge is the vast number of candidates, making it difficult to identify promising seeds. To address this, we introduce a customized online learning algorithm that iteratively groups candidate inputs, ranks each group, and selects a seed from the top-ranked group based on data accumulated during symbolic execution. Experimental results on 17 open-source$C$programs show that TOPSEED significantly enhances four distinct cuttingedge techniques, implemented on top of two symbolic executors, in terms of branch coverage and bug-finding abilities.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8840,
  title = {Topseed: Learning Seed Selection Strategies for Symbolic Execution from Scratch},
  author = {Jaehyeok Lee and Sooyoung Cha},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00095}
}