paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Precise concolic unit testing of C programs using extended units and symbolic alarm filtering

使用扩展单元与符号化告警过滤的 C 程序精确 concolic 单元测试
ICSE Proceedings of the 40th International Conference on Software Engineering2018匹配度 2/10 · 该论文属于传统的 concolic/symbolic 单元测试与程序分析,关注误报过滤和上下文构造,但与用户核心关注的 LLM/Agent 与静态分析交叉、浮点程序分析或贝叶斯程序分析没有直接关系;仅在广义程序分析/形式化方法上有弱关联。引用 19 inbox
Yunho Kim, Yunja Choi, Moonzoo Kim
crossref: 2026-09-12

AI 速览

一句话:提出 CONBRIO,通过扩展单元构造真实上下文并用符号调用上下文过滤误报,实现精确的 C 程序 concolic 单元测试。

自动单元测试虽能减少编写驱动/桩与生成输入的人工成本,但自动生成的驱动/桩常会过度近似目标函数 f 的真实上下文,从而允许不可行执行并产生误报。为解决该问题,作者提出 concolic 单元测试技术 CONBRIO。为给 f 提供更真实的上下文,CONBRIO 构造由 f 及其紧密相关函数组成的扩展单元;同时,它通过组合 f 的紧密相关前驱函数的符号执行路径,获得 f 的符号调用上下文,并据此检查对应符号执行路径的可行性,从而过滤掉误报。该工作聚焦于提升自动单元测试的精确性,核心机制是扩展单元与符号告警过滤。

问题
自动生成的单元测试驱动/桩会过度近似目标函数的真实上下文,导致不可行执行,进而产生大量误报。
方法
构造包含目标函数及其紧密相关函数的扩展单元以提供真实上下文,并组合前驱函数的符号执行路径得到符号调用上下文,通过路径可行性检查过滤误报。
评估
摘要未给出具体实验评估细节;作者通过所开发的 CONBRIO 技术对 C 程序进行 concolic 单元测试与误报过滤来验证其精确性。
原文摘要(Abstract)

Automated unit testing reduces manual effort to write unit test drivers/stubs and generate unit test inputs. However, automatically generated unit test drivers/stubs raise false alarms because they often over-approximate real contexts of a target function f and allow infeasible executions of f. To solve this problem, we have developed a concolic unit testing technique CONBRIO. To provide realistic context to f, it constructs an extended unit of f that consists of f and closely relevant functions to f. Also, CONBRIO filters out a false alarm by checking feasibility of a corresponding symbolic execution path with regard to f's symbolic calling contexts obtained by combining symbolic execution paths of f's closely related predecessor functions.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4394,
  title = {Precise concolic unit testing of C programs using extended units and symbolic alarm filtering},
  author = {Yunho Kim and Yunja Choi and Moonzoo Kim},
  booktitle = {ICSE},
  year = {2018},
  doi = {10.1145/3180155.3180253}
}