arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.05312cs.SE
收藏

编程语言是否重要?对模糊测试漏洞检测的实证研究

Does Programming Language Matter? An Empirical Study of Fuzzing Bug Detection

Nara Institute of Science and Technology(奈良先端科学技术大学院大学);The University of Osaka(大阪大学);Nara Women’s University(奈良女子大学)

Tatsuya Shirai, Olivier Nourry, Yutaro Kashiwa, Kenji Fujiwara, Hajimu Iida

AI总结:

本研究通过大规模跨语言分析,揭示了编程语言对模糊测试漏洞检测效率和特性的影响,为语言感知的模糊测试策略提供依据。

摘要:

模糊测试已成为一种流行的自动检测漏洞和bug的技术,通过生成意外输入。近年来,模糊测试过程已整合到持续集成流程中(即持续模糊测试),使测试周期短而频繁。尽管其广泛应用,但先前的研究尚未考察持续模糊测试的有效性是否因编程语言而异。本研究进行了一项大规模的跨语言分析,以探讨不同语言中模糊测试漏洞特征和检测效率的差异。我们分析了61,444个模糊测试漏洞和999,248次构建,来自559个按主要语言分类的OSS-Fuzz项目。我们的发现表明:(i)C++和Rust的模糊测试漏洞检测频率较高;(ii)Rust和Python的漏洞比率较低,但倾向于暴露更多关键漏洞;(iii)崩溃类型在不同语言中不同,不可复现的漏洞在Go中更常见但在Rust中较少;(iv)Python的补丁覆盖率更高,但检测时间更长。这些结果表明,模糊测试行为和有效性受语言设计强烈影响,为语言感知的模糊测试策略和工具开发提供了见解。

英文摘要:

Fuzzing has become a popular technique for automatically detecting vulnerabilities and bugs by generating unexpected inputs. In recent years, the fuzzing process has been integrated into continuous integration workflows (i.e., continuous fuzzing), enabling short and frequent testing cycles. Despite its widespread adoption, prior research has not examined whether the effectiveness of continuous fuzzing varies across programming languages. This study conducts a large-scale cross-language analysis to examine how fuzzing bug characteristics and detection efficiency differ among languages. We analyze 61,444 fuzzing bugs and 999,248 builds from 559 OSS-Fuzz projects categorized by primary language. Our findings reveal that (i) C++ and Rust exhibit higher fuzzing bug detection frequencies, (ii) Rust and Python show low vulnerability ratios but tend to expose more critical vulnerabilities, (iii) crash types vary across languages and unreproducible bugs are more frequent in Go but rare in Rust, and (iv) Python attains higher patch coverage but suffers from longer time-to-detection. These results demonstrate that fuzzing behavior and effectiveness are strongly shaped by language design, providing insights for language-aware fuzzing strategies and tool development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑