arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.13274cs.SEcs.CRcs.PL
收藏

软件去臃肿工具的广泛比较评估

A Broad Comparative Evaluation of Software Debloating Tools

Michael D. Brown, Adam Meily, Brian Fairservice, Akshay Sood, Jonathan Dorn, Eric Kilmer, Ronald Eytchison

AI总结:

本文调研10年文献并在20个基准上以12项指标比较10款软件去臃肿工具,发现其成功率、健全健壮性及安全性能收益均有限。

摘要:

软件去臃肿工具旨在通过移除被称为“臃肿”的不必要代码来提升程序的安全性和性能。尽管已有许多技术被提出,但其采用过程中仍出现若干障碍。具体而言,去臃肿工具高度专业化,采用者很难找到适合自身需求的工具类型;缺乏成熟的度量标准以及工具之间的比较评估,进一步加剧了这一问题。为弥合这一信息差距,我们调研了10年来的去臃肿文献以及若干当前处于商业开发阶段的工具,以对去臃肿生态系统的知识进行分类。随后,我们对10款去臃肿工具开展了广泛的比较评估,以确定它们各自的相对优势和弱点。评估在一组多样化的20个基准程序上进行,从12项性能、安全性和正确性指标对工具进行衡量。评估揭示了若干与去臃肿文献中主流说法相矛盾的令人担忧的发现。第一,去臃肿工具缺乏在真实世界软件上使用所需的成熟度:在中、高复杂度基准上,生成可接受的去臃肿版本的总体成功率仅为22%。第二,去臃肿工具难以生成健全且健壮的程序。利用我们新颖的差分模糊测试工具DIFFER,我们发现仅有13%的去臃肿尝试产生了健全且健壮的去臃肿程序。最后,结果表明,依据我们的评估指标,去臃肿工具通常不能显著改善去臃肿程序的性能或安全态势。我们相信,本文的贡献将帮助潜在采用者更好地理解工具格局,并推动未来研发更强大的去臃肿工具。

英文摘要:

Software debloating tools seek to improve program security and performance by removing unnecessary code, called bloat. While many techniques have been proposed, several barriers to their adoption have emerged. Namely, debloating tools are highly specialized, making it difficult for adopters to find the right type of tool for their needs. This is further hindered by a lack of established metrics and comparative evaluations between tools. To close this information gap, we surveyed 10 years of debloating literature and several tools currently under commercial development to taxonomize knowledge about the debloating ecosystem. We then conducted a broad comparative evaluation of 10 debloating tools to determine their relative strengths and weaknesses. Our evaluation, conducted on a diverse set of 20 benchmark programs, measures tools across 12 performance, security, and correctness metrics. Our evaluation surfaces several concerning findings that contradict the prevailing narrative in the debloating literature. First, debloating tools lack the maturity required to be used on real-world software, evidenced by a slim 22% overall success rate for creating passable debloated versions of medium- and high-complexity benchmarks. Second, debloating tools struggle to produce sound and robust programs. Using our novel differential fuzzing tool, DIFFER, we discovered that only 13% of our debloating attempts produced a sound and robust debloated program. Finally, our results indicate that debloating tools typically do not improve the performance or security posture of debloated programs by a significant degree according to our evaluation metrics. We believe that our contributions in this paper will help potential adopters better understand the landscape of tools and will motivate future research and development of more capable debloating tools.

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

↑