岩浆:一个真值模糊基准
Magma: A Ground-Truth Fuzzing Benchmark
摘要:
高可扩展性和低运行成本使得模糊测试成为发现软件缺陷的事实标准。在构建最终缺陷查找工具的竞赛中,模糊技术不断得到改进。然而,虽然模糊化擅长在野外发现bug,但由于缺乏指标和基准,评估和比较模糊化性能具有挑战性。例如,由于重复数据删除技术的不完善,可能是最常用的性能度量的崩溃计数是不准确的。此外,由于缺乏一套统一的目标,导致进行临时评价,妨碍了公平比较。我们解决这些问题,通过开发岩浆,一个真值模糊基准,使统一的模糊评估和比较。通过将真实的错误引入真实的软件,Magma允许对模糊器进行现实的评估。通过检测这些bug,Magma还可以独立于模糊器收集以bug为中心的性能指标。Magma是一个开放的基准测试,由七个目标组成,执行各种输入操作和复杂的计算,对最先进的模糊器提出了挑战。我们评估了七个广泛使用的基于突变的模糊器(AFL,AFLFast,AFL++,FairFuzz,MOpt-AFL,honggfuzz和SymCC-AFL)对Magma超过200,000 CPU小时。基于到达、触发和检测到的错误的数量,我们得出关于模糊器的探索和检测能力的结论。这提供了对模糊性能评估的深入了解,突出了地面实况在执行更准确和有意义的评估中的重要性。
英文摘要:
High scalability and low running costs have made fuzz testing the de facto standard for discovering software bugs. Fuzzing techniques are constantly being improved in a race to build the ultimate bug-finding tool. However, while fuzzing excels at finding bugs in the wild, evaluating and comparing fuzzer performance is challenging due to the lack of metrics and benchmarks. For example, crash count, perhaps the most commonly-used performance metric, is inaccurate due to imperfections in deduplication techniques. Additionally, the lack of a unified set of targets results in ad hoc evaluations that hinder fair comparison. We tackle these problems by developing Magma, a ground-truth fuzzing benchmark that enables uniform fuzzer evaluation and comparison. By introducing real bugs into real software, Magma allows for the realistic evaluation of fuzzers against a broad set of targets. By instrumenting these bugs, Magma also enables the collection of bug-centric performance metrics independent of the fuzzer. Magma is an open benchmark consisting of seven targets that perform a variety of input manipulations and complex computations, presenting a challenge to state-of-the-art fuzzers. We evaluate seven widely-used mutation-based fuzzers (AFL, AFLFast, AFL++, FairFuzz, MOpt-AFL, honggfuzz, and SymCC-AFL) against Magma over 200,000 CPU-hours. Based on the number of bugs reached, triggered, and detected, we draw conclusions about the fuzzers' exploration and detection capabilities. This provides insight into fuzzer performance evaluation, highlighting the importance of ground truth in performing more accurate and meaningful evaluations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。