paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Hybrid Fuzzing of Infrastructure as Code Programs (Short Paper)

基础设施即代码程序的混合模糊测试(短文)
ISSTA Proceedings of the 34th ACM SIGSOFT International Symposium on Software Testing and Analysis2025匹配度 2/10 · 论文聚焦 IaC 程序的混合模糊测试与 concolic execution,属于软件测试/动态程序分析,但未涉及用户核心方向:LLM/Agent 与静态分析的结合、浮点程序分析或贝叶斯程序分析,也不涉及 ML/Agentic 系统。仅与广义程序分析和测试有边缘关联。引用 1 inbox
Emilio Coppa, Daniel Sokolowski, Guido Salvaneschi
crossref: 2026-09-12

AI 速览

一句话:提出 HIT 单元测试框架,将模糊测试与 concolic execution 结合,用于 IaC 程序的资源状态相关测试。

基础设施即代码(IaC)已成为现代云与系统部署的基石,但其程序行为依赖所管理资源在外部提供方上的状态,且 IaC 程序复杂、动态,导致正确性难以保证、测试尤为困难。本文提出 HIT,一种面向 IaC 程序的单元测试框架,能够利用相关的资源状态来有效测试 IaC 代码。HIT 将模糊测试与 concolic execution(混合执行)相结合,这两种技术此前尚未在 IaC 代码上被探索过。实验表明,HIT 相比现有最先进方法取得了更高的代码覆盖率。

问题
IaC 程序的行为取决于其所管理资源在外部提供方上的状态,而枚举这些状态十分困难,因此 IaC 程序的测试与正确性保障极具挑战。
方法
提出 HIT 单元测试框架,将模糊测试与 concolic execution 结合,自动生成并利用相关的资源状态来驱动 IaC 代码的测试。
评估
通过实验将 HIT 与现有最先进方法对比,结果表明 HIT 在 IaC 程序上取得了更高的代码覆盖率。
原文摘要(Abstract)

Infrastructure as Code (IaC) has become a cornerstone of modern cloud and system deployment, enabling automated and repeatable infrastructure provisioning. However, ensuring the correctness of IaC programs remains challenging due to their complexity and dynamic nature. In particular, IaC programs can exhibit different behaviors depending on the state of the resources they manage. Since these resources are deployed on external providers, accounting for their possible states is difficult, making the testing phase particularly challenging. This paper presents HIT, a novel unit-testing framework for IaC programs that effectively tests IaC code using relevant resource states. HIT combines fuzzing and concolic execution, two effective yet previously unexplored techniques for IaC code. Our experiments confirm that HIT achieves better code coverage than state-of-the-art approaches.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9598,
  title = {Hybrid Fuzzing of Infrastructure as Code Programs (Short Paper)},
  author = {Emilio Coppa and Daniel Sokolowski and Guido Salvaneschi},
  booktitle = {ISSTA},
  year = {2025},
  doi = {10.1145/3713081.3731721}
}