首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Trimmer: Application Specialization for Code Debloating
【24h】

Trimmer: Application Specialization for Code Debloating

机译:修剪器:代码拆分的应用程序专业化

获取原文

摘要

With the proliferation of new hardware architectures and ever-evolving user requirements, the software stack is becoming increasingly bloated. In practice, only a limited subset of the supported functionality is utilized in a particular usage context, thereby presenting an opportunity to eliminate unused features. In the past, program specialization has been proposed as a mechanism for enabling automatic software debloating. In this work, we show how existing program specialization techniques lack the analyses required for providing code simplification for real-world programs. We present an approach that uses stronger analysis techniques to take advantage of constant configuration data, thereby enabling more effective debloating. We developed Trimmer, an application specialization tool that leverages user-provided configuration data to specialize an application to its deployment context. The specialization process attempts to eliminate the application functionality that is unused in the user-defined context. Our evaluation demonstrates Trimmer can effectively reduce code bloat. For 13 applications spanning various domains, we observe a mean binary size reduction of 21% and a maximum reduction of 75%. We also show specialization reduces the surface for code-reuse attacks by reducing the number of exploitable gadgets. For the evaluated programs, we observe a 20% mean reduction in the total gadget count and a maximum reduction of 87%.
机译:随着新硬件体系结构的激增和用户需求的不断发展,软件堆栈变得越来越膨胀。实际上,在特定的使用上下文中仅使用受支持功能的有限子集,从而提供了消除未使用功能的机会。过去,已经提出了程序专门化作为使软件自动膨胀的机制。在这项工作中,我们将展示现有的程序专业化技术如何缺少为实际程序提供代码简化所需的分析。我们提出一种使用更强大的分析技术的方法,以利用恒定的配置数据,从而实现更有效的去膨胀。我们开发了Trimmer,这是一个应用程序专用工具,它利用用户提供的配置数据将应用程序专用于其部署上下文。专业化过程试图消除用户定义上下文中未使用的应用程序功能。我们的评估表明,Trimmer可有效减少代码膨胀。对于跨越各个领域的13个应用程序,我们观察到平均二进制大小减少了21%,最大减少了75%。我们还表明,通过减少可利用的小工具的数量,专业化可以减少代码重用攻击的范围。对于评估程序,我们观察到小工具总数平均减少了20%,最大减少了87%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号