paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Industry Practice of LLM-Assisted Protocol Fuzzing for Commercial Communication Modules

面向商业通信模块的 LLM 辅助协议模糊测试工业实践
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 4/10 · 该论文将 LLM/RAG 用于协议模糊测试模板生成,并包含工业落地与缺陷发现案例,符合对 LLM 作为程序分析工具和工业实践的部分兴趣;但它属于动态测试/模糊测试,而非用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析。引用 0 inbox
Qiang Fu, Changjian Liu, Yuan Ding, Chao Fan, Yulai Fu, Yuhan Chen, Ying Fu, Ronghua Shi, Fuchen Ma, Heyuan Shi
crossref: 2026-09-12

AI 速览

一句话:提出 FuzzCM,用 RAG 增强 LLM 自动生成协议模糊测试模板,结合 GPIO 覆盖率与混合变异,在商业通信模块发现 21 个新缺陷。

商业通信模块的协议模糊测试面临模板生成耗时、缺乏覆盖率采集、测试性能受限以及软硬件 CI/CD 流程不一致等挑战。本文与中国移动物联网合作,提出 FuzzCM 框架:利用检索增强生成(RAG)增强的大语言模型自动生成协议测试模板,采用基于 GPIO 的插桩高效采集运行时覆盖率,并借助历史测试知识库指导混合变异策略,同时打通软硬件层 CI/CD 以支持持续且环境感知的测试。作者在五款 LTE Cat.1 bis 模块上开展工业实践,发现 21 个此前未知的缺陷,其中 15 个已修复;FuzzCM 的覆盖率相较人工方法和 Peach* 方法分别平均提升 51% 和 29%,总体覆盖率达到 85%。

问题
商业通信模块的协议模糊测试仍受限于模板生成人工成本高、覆盖率采集支持不足、测试性能有限,以及实际硬件与软件 CI/CD 流程不一致等问题。
方法
提出 FuzzCM,使用 RAG 增强的 LLM 自动生成测试模板,基于 GPIO 插桩采集运行时覆盖率,并用历史测试知识库引导混合变异,同时集成软硬件 CI/CD 实现持续环境感知测试。
评估
与中国移动物联网合作,在五款 LTE Cat.1 bis 模块上开展工业实践,发现 21 个未知缺陷、15 个已修复;覆盖率较人工方法和 Peach* 分别平均提升 51% 和 29%,总体达到 85%。
原文摘要(Abstract)

Fuzzing is widely used for software robustness testing. However, its application in commercial communication modules remains limited due to several key challenges, including labor-intensive template generation, lack of coverage collection support, limited testing performance, and inconsistencies between practical hardware and software CI/CD processes. In collaboration with China Mobile IoT, we present FuzzCM, a comprehensive protocol fuzzing framework tailored for commercial communication modules. FuzzCM employs a Retrieval-Augmented Generation (RAG)-enhanced large language model (LLM) to automate template generation and utilizes GPIO-based instrumentation for efficient runtime coverage data collection. Additionally, it leverages a knowledge base constructed from prior tests to guide hybrid mutation strategies and integrates CI/CD across both software and hardware layers, enabling continuous and environment-aware testing. We conducted an industrial practice with FuzzCM on five LTE Cat.1 bis modules, identifying 21 previously unknown bugs, 15 of which have been fixed. The results demonstrate that FuzzCM outperforms both manual methods and the Peach* approach, achieving average coverage improvements of 51% and 29%, respectively, with overall coverage reaching 85%.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9478,
  title = {Industry Practice of LLM-Assisted Protocol Fuzzing for Commercial Communication Modules},
  author = {Qiang Fu and Changjian Liu and Yuan Ding and Chao Fan and Yulai Fu and Yuhan Chen and Ying Fu and Ronghua Shi and Fuchen Ma and Heyuan Shi},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00260}
}