DynaCut: A Framework for Dynamic and Adaptive Program Customization
dc.contributor.author | Mahurkar, Abhijit | en |
dc.contributor.author | Wang, Xiaoguang | en |
dc.contributor.author | Zhang, Hang | en |
dc.contributor.author | Ravindran, Binoy | en |
dc.date.accessioned | 2023-12-04T18:14:21Z | en |
dc.date.available | 2023-12-04T18:14:21Z | en |
dc.date.issued | 2023-11-27 | en |
dc.date.updated | 2023-12-01T08:51:54Z | en |
dc.description.abstract | Software is becoming increasingly complex and feature-rich, yet only part of any given codebase is frequently used. Existing software customization and debloating approaches target static binaries, focusing on feature discovery, control-flow analysis, and binary rewriting. As a result, the customized program binary has a smaller attack surface as well as less available functionality. This means that once a software’s use scenario changes, the customized binary may not be usable. This paper presents DynaCut, for dynamic software code customization. DynaCut can disable “not being used” code features during software runtime and re-enable them when required again. DynaCut works at the binary level; no source code is needed. To achieve its goal, DynaCut includes a dynamic process rewriting technique that seamlessly and transparently updates the image of a running process, with specific code features blocked or re-enabled. To help identify potentially unused code, DynaCut employs an execution trace-based differential analysis to pinpoint the code related to specific software features, which can be dynamically turned on/off based on user configuration. We also develop automatic methods to locate code that is only temporally used (e.g., initialization code), which can be dropped in a timely manner (e.g., after the initialization phase). We prototype DynaCut and evaluate it using 3 widely used server applications and the SPECint2017_speed benchmark suite. The result shows that, compared to existing static binary customization approaches, DynaCut removes an additional 10% of code on average and up to 56% of temporally executed code due to the dynamic code customization. | en |
dc.description.version | Published version | en |
dc.format.mimetype | application/pdf | en |
dc.identifier.doi | https://doi.org/10.1145/3590140.3629121 | en |
dc.identifier.uri | https://hdl.handle.net/10919/116729 | en |
dc.language.iso | en | en |
dc.publisher | ACM | en |
dc.rights | In Copyright | en |
dc.rights.holder | The author(s) | en |
dc.rights.uri | http://rightsstatements.org/vocab/InC/1.0/ | en |
dc.title | DynaCut: A Framework for Dynamic and Adaptive Program Customization | en |
dc.type | Article - Refereed | en |
dc.type.dcmitype | Text | en |