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

通过1-DU链最小化改进程序精简

Improving Program Debloating with 1-DU Chain Minimality

Myeongsoo Kim, Santosh Pande, Alessandro Orso

AI总结:

针对现有程序精简技术激进易过拟合、保守效果差的问题,提出基于1-DU链最小化的RLDebloatDU方法,在10个Linux内核程序上验证显示其降漏洞效果与可靠性均优于Chisel和Razor。

摘要:

现代软件常受代码膨胀困扰,会导致内存占用升高,且未使用代码会带来安全漏洞。为此,研究人员已开发出多种程序精简技术,这类技术通常利用代表用户所需保留功能的测试用例实现精简。现有方法分为两类:激进型方法优先追求最大程度的代码缩减,但可能对测试用例过拟合,还可能重新引入已修复的历史安全问题;保守型策略旨在保留所有受影响代码,代价通常是精简效果较差,安全提升有限。本研究提出了RLDebloatDU这一创新精简技术,它在抽象语法树中运用1-DU链最小化机制。该方法保留了关键的程序数据依赖,在激进代码缩减与程序语义保留之间取得了平衡。我们在10个Linux内核程序上对RLDebloatDU进行了评估,将其性能与两种主流精简技术对比:以激进精简方式著称的Chisel,以及以保守策略闻名的Razor。RLDebloatDU显著降低了通用漏洞披露(CVE)的发生率,且相比两种方法均提升了可靠性,凸显了其在减少安全问题的同时不会重新引入已解决安全问题的效能。

英文摘要:

Modern software often struggles with bloat, leading to increased memory consumption and security vulnerabilities from unused code. In response, various program debloating techniques have been developed, typically utilizing test cases that represent functionalities users want to retain. These methods range from aggressive approaches, which prioritize maximal code reduction but may overfit to test cases and potentially reintroduce past security issues, to conservative strategies that aim to preserve all influenced code, often at the expense of less effective bloat reduction and security improvement. In this research, we present RLDebloatDU, an innovative debloating technique that employs 1-DU chain minimality within abstract syntax trees. Our approach maintains essential program data dependencies, striking a balance between aggressive code reduction and the preservation of program semantics. We evaluated RLDebloatDU on ten Linux kernel programs, comparing its performance with two leading debloating techniques: Chisel, known for its aggressive debloating approach, and Razor, recognized for its conservative strategy. RLDebloatDU significantly lowers the incidence of Common Vulnerabilities and Exposures (CVEs) and improves soundness compared to both, highlighting its efficacy in reducing security issues without reintroducing resolved security issues.

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

↑