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

BeDivFuzz:将行为多样性集成到基于生成器的模糊中

BeDivFuzz: Integrating Behavioral Diversity into Generator-based Fuzzing

Hoang Lam Nguyen, Lars Grunske

摘要:

分支覆盖率是评价模糊器性能的一个常用指标。然而,我们认为,仅仅关注覆盖许多不同的分支(即,丰富性)是不够的,因为大多数被覆盖的分支可能只被执行过一次,这不能激发对被覆盖代码的可靠性的高置信度。相反,执行分支的分布(即,均匀性)也应当考虑。也就是说,只有当生成的输入不仅触发许多不同的分支,而且还使用不同的输入均匀地触发它们时,才给出行为多样性。我们介绍BeDivFuzz,一个反馈驱动的模糊技术的发电机为基础的模糊。BeDivFuzz在语法有效输入的空间中区分结构保持和结构改变的突变,并根据收到的程序反馈将其突变策略偏向有效性和行为多样性。我们已经在Ant、Maven、Rhino、Closure、Nashorn和Tomcat上评估了BeDivFuzz。结果表明,BeDivFuzz比最先进的技术实现了更好的行为多样性,这是通过生态学领域既定的生物多样性指标(即Hill数)来衡量的。

英文摘要:

A popular metric to evaluate the performance of fuzzers is branch coverage. However, we argue that focusing solely on covering many different branches (i.e., the richness) is not sufficient since the majority of the covered branches may have been exercised only once, which does not inspire a high confidence in the reliability of the covered code. Instead, the distribution of the executed branches (i.e., the evenness) should also be considered. That is, behavioral diversity is only given if the generated inputs not only trigger many different branches, but also trigger them evenly often with diverse inputs. We introduce BeDivFuzz, a feedback-driven fuzzing technique for generator-based fuzzers. BeDivFuzz distinguishes between structure-preserving and structure-changing mutations in the space of syntactically valid inputs, and biases its mutation strategy towards validity and behavioral diversity based on the received program feedback. We have evaluated BeDivFuzz on Ant, Maven, Rhino, Closure, Nashorn, and Tomcat. The results show that BeDivFuzz achieves better behavioral diversity than the state of the art, measured by established biodiversity metrics, namely the Hill numbers, from the field of ecology.

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

↑