arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14082cs.SE
收藏

运行时间配置空间在运行时间的特化:一个探索性研究

Specialization of Run-time Configuration Space at Compile-time: An Exploratory Study

Xhevahire Tërnava, Mathieu Acher, Benoit Combemale

摘要:

许多软件系统通过运行时间选项(如命令行参数)是高度可配置的。用户可以调整某些选项,以满足各种功能和非功能需求,如占用空间、安全性或执行时间。然而,有些选项从来没有为给定的系统实例设置过,无论系统的用例如何,它们的值都保持不变。在此,我们设计了一个受控实验,其中系统的运行时间配置空间可以在编译时专门化,并且可以根据需要删除选项的组合。我们对著名的x264视频编码器进行了深入的研究,并量化了其专业化对其非功能属性的影响,即二进制大小,攻击面和性能,同时确保其有效性。我们的探索性研究表明,系统的可配置专业化具有统计上的显着好处,其分析的非功能性的属性,这些好处取决于的debloated选项的数量。虽然我们的实证结果和见解表明,删除与未使用的运行时间选项,以改善软件系统的代码的重要性,一个开放的挑战是进一步自动化的专业化过程。

英文摘要:

Numerous software systems are highly configurable through run-time options, such as command-line parameters. Users can tune some of the options to meet various functional and non-functional requirements such as footprint, security, or execution time. However, some options are never set for a given system instance, and their values remain the same whatever the use cases of the system. Herein, we design a controlled experiment in which the system's run-time configuration space can be specialized at compile-time and combinations of options can be removed on demand. We perform an in-depth study of the well-known x264 video encoder and quantify the effects of its specialization to its non-functional properties, namely on binary size, attack surface, and performance while ensuring its validity. Our exploratory study suggests that the configurable specialization of a system has statistically significant benefits on most of its analysed non-functional properties, which benefits depend on the number of the debloated options. While our empirical results and insights show the importance of removing code related to unused run-time options to improve software systems, an open challenge is to further automate the specialization process.

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

↑