arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.17093cs.SE
收藏

模糊测试中统计最大覆盖率估计器的可靠性评估

Assessing Reliability of Statistical Maximum Coverage Estimators in Fuzzing

Danushka Liyanage, Nelum Attanayake, Zijian Luo, Rahul Gopinath

AI总结:

本文针对模糊测试中最大可达覆盖率估计缺乏标注真值的问题,提出合成程序评估框架,并在真实程序上通过改变采样单元大小检验可达性估计器的可靠性,为评估未来改进提供协议。

摘要:

背景:模糊器通常以覆盖率作为引导,因此对最大可达覆盖率的估计成为模糊测试中的一个关键问题。然而,对大多数现实世界的软件系统而言,无论投入多少努力,实现100%覆盖率都是不可行的。虽然静态可达性分析能够提供一个上界,但它往往非常不准确。近年来,基于生物统计学中物种丰富度估计器的统计估计方法被提出作为一种潜在的解决方案。然而,由于缺乏带有标注真值的可靠基准,对其准确性的严格评估一直受到限制。目标:本研究从两个维度考察可达性估计器的可靠性:解决缺乏标注真值的问题,并评估其在现实世界程序上的可靠性。方法:(1)为解决标注真值的挑战,我们提出一个评估框架,该框架合成生成具有复杂控制流的大型程序,确保可达性定义明确,并为评估提供真值。(2)为回应使用合成基准所受到的批评,我们在没有标注真值的现实世界基准上适配了一种可达性估计器的可靠性检查方法——通过改变采样单元的大小,这在理论上不应影响估计结果。结果:这两项研究将共同帮助回答当前可达性估计器是否可靠的问题,并定义一个协议来评估未来可达性估计的改进。

英文摘要:

Background: Fuzzers are often guided by coverage, making the estimation of maximum achievable coverage a key concern in fuzzing. However, achieving 100% coverage is infeasible for most real-world software systems, regardless of effort. While static reachability analysis can provide an upper bound, it is often highly inaccurate. Recently, statistical estimation methods based on species richness estimators from biostatistics have been proposed as a potential solution. Yet, the lack of reliable benchmarks with labeled ground truth has limited rigorous evaluation of their accuracy. Objective: This work examines the reliability of reachability estimators from two axes: addressing the lack of labeled ground truth and evaluating their reliability on real-world programs. Methods: (1) To address the challenge of labeled ground truth, we propose an evaluation framework that synthetically generates large programs with complex control flows, ensuring well-defined reachability and providing ground truth for evaluation. (2) To address the criticism from use of synthetic benchmarks, we adapt a reliability check for reachability estimators on real-world benchmarks without labeled ground truth -- by varying the size of sampling units, which, in theory, should not affect the estimate. Results: These two studies together will help answer the question of whether current reachability estimators are reliable, and defines a protocol to evaluate future improvements in reachability estimation.

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

↑