Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating
摘要
Existing approaches for program debloating often use a usage profile, typically provided as a set of inputs, for identifying the features of a program to be preserved. Specifically, given a program and a set of inputs, these techniques produce a reduced program that behaves correctly for these inputs. Focusing only on reduction, however, would typically result in programs that are overfitted to the inputs used for debloating. For this reason, another important factor to consider in the context of debloating is generality, which measures the extent to which a debloated program behaves correctly also for inputs that were not in the initial usage profile. Unfortunately, most evaluations of existing debloating approaches only consider reduction, thus providing partial information on the effectiveness of these approaches. To address this limitation, we perform an empirical evaluation of the reduction and generality of 4 debloating techniques, 3 state-of-the-art ones, and a baseline, on a set of 25 programs and different sets of inputs for these programs. Our results show that these approaches can indeed produce programs that are overfitted to the inputs used and have low generality. Based on these results, we also propose two new augmentation approaches and evaluate their effectiveness. The results of this additional evaluation show that these two approaches can help improve program generality without significantly affecting size reduction. Finally, because different approaches have different strengths and weaknesses, we also provide guidelines to help users choose the most suitable approach based on their specific needs and context.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A longitudinal analysis of bloated Java dependencies 引用了 Less is More: Quantifying the Security Benefits of Debloating Web Applications
- A longitudinal analysis of bloated Java dependencies 引用了 Debloating Software through Piece-Wise Compilation and Loading
- A longitudinal analysis of bloated Java dependencies 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- MiniMon: Minimizing Android Applications with Intelligent Monitoring-Based Debloating 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- Less is More: Quantifying the Security Benefits of Debloating Web Applications 引用了 Debloating Software through Piece-Wise Compilation and Loading
- Less is More: Quantifying the Security Benefits of Debloating Web Applications 引用了 Effective Program Debloating via Reinforcement Learning
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 Debloating Software through Piece-Wise Compilation and Loading
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 Effective Program Debloating via Reinforcement Learning
- A Broad Comparative Evaluation of Software Debloating Tools 引用了 Less is More: Quantifying the Security Benefits of Debloating Web Applications
- A Broad Comparative Evaluation of Software Debloating Tools 引用了 Debloating Software through Piece-Wise Compilation and Loading
- A Broad Comparative Evaluation of Software Debloating Tools 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- A Broad Comparative Evaluation of Software Debloating Tools 引用了 Effective Program Debloating via Reinforcement Learning
- Effective Program Debloating via Reinforcement Learning 引用了 Debloating Software through Piece-Wise Compilation and Loading
引用它的顶会 Paper2
- A Broad Comparative Evaluation of Software Debloating ToolsMichael D. Brown, Adam Meily, Brian Fairservice, Akshay Sood 等USENIX Security 2024 · 16 次引用
- MiniMon: Minimizing Android Applications with Intelligent Monitoring-Based DebloatingJiakun Liu, Zicheng Zhang, Xing Hu, Ferdian Thung 等ICSE 2024 · 2 次引用
它引用的 Paper10
- Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 次引用
- Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 次引用
- RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung 等USENIX Security 2019 · 132 次引用
- Less is More: Quantifying the Security Benefits of Debloating Web ApplicationsBabak Amin Azad, Pierre Laperdrix, Nick NikiforakisUSENIX Security 2019 · 100 次引用
- A longitudinal analysis of bloated Java dependenciesCésar Soto-Valero, Thomas Durieux, Benoit BaudryFSE 2021 · 47 次引用
相关 Paper
- Subdomain-Based Generality-Aware DebloatingQi Xin, Myeongsoo Kim, Qirun Zhang, Alessandro OrsoASE 2020 · 8 次引用
- JShrink: in-depth investigation into debloating modern Java applicationsBobby R. Bruce, Tianyi Zhang, Jaspreet Arora, Guoqing Harry Xu 等FSE 2020 · 46 次引用
- Input-Driven Dynamic Program Debloating for Code-Reuse Attack MitigationXiaoke Wang, Tao Hui, Lei Zhao, Yueqiang ChengFSE 2023 · 3 次引用
- Augmented example-based synthesis using relational perturbation propertiesShengwei An, Rishabh Singh, Sasa Misailovic, Roopsha SamantaPOPL 2020 · 7 次引用
- Minimalist: Semi-automated Debloating of PHP Web Applications through Static AnalysisRasoul Jahanshahi, Babak Amin Azad, Nick Nikiforakis, Manuel EgeleUSENIX Security 2023
