An analysis of call-site patching without strong hardware support for self-modifying-code

An analysis of call-site patching without strong hardware support for self-modifying-code
复制标题

对自修改代码没有强大硬件支持的调用点修补分析

DOI:
10.1145/3357390.3361027
复制
发表时间:
2019
期刊:
--
影响因子:
--
通讯作者:
Hartley T
Hartley T
中科院分区:
--
文献类型:
--
作者:
Hartley T

文献摘要

参考文献

相似文献

随着微服务的不断普及和低功耗处理器进入数据中心,在低功耗架构上高效执行托管运行时系统也越来越受到关注。除了高功率和低功率处理器之间的固有性能差异之外,将托管运行时系统移植到低功率架构可能会导致虚假地引入额外的开销和设计权衡。在这项工作中,我们研究如何缺乏强大的硬件支持自修改代码(SMC)在低功耗架构,影响即时(JIT)的编译和执行在现代虚拟机。特别是,我们研究如何低功耗架构,没有或有限的硬件支持SMC,施加限制的调用网站的实现,当后者需要修补的运行时系统。我们提出了四种不同的用于调用站点生成的内存安全实现,并讨论了在缺乏SMC强大硬件支持的情况下它们的优点和缺点。最后,我们使用微基准测试在不同的工作负载上评估每种技术,并在Dacapo基准测试套件上评估最好的两种技术,显示性能差异高达15%。
With micro-services continuously gaining popularity and low-power processors making their way into data centers, efficient execution of managed runtime systems on low-power architectures is also gaining interest. Apart from the inherent performance differences between high and low power processors, porting a managed runtime system to a low-power architecture may result in spuriously introducing additional overheads and design trade-offs. In this work we investigate how the lack of strong hardware support for Self Modifying Code (SMC) in low-power architectures, influences Just-In-Time (JIT) compilation and execution in modern virtual machines. In particular, we examine how low-power architectures, with no or limited hardware support for SMC, impose restrictions on call-site implementations, when the latter need to be patchable by the runtime system. We present four different memory-safe implementations for call-site generation and discuss their advantages and disadvantages in the absence of strong hardware support for SMC. Finally, we evaluate each technique on different workloads using micro-benchmarks and we evaluate the best two techniques on the Dacapo benchmark suite showcasing performance differences up to 15%.
DOI: 10.1007/978-3-642-21040-2_1
发表时间: 2011-06
期刊: --
影响因子: --
作者:
Antoine Amarilli;Sascha Müller;D. Naccache;D. Page;Pablo Rauzy;Michael Tunstall
通讯作者: Antoine Amarilli;Sascha Müller;D. Naccache;D. Page;Pablo Rauzy;Michael Tunstall
基于逆向分析的动态自修改代码检测
DOI: --
发表时间: 2018
期刊: International Conference on Computer and Automation Engineering
影响因子: --
作者:
Dawei Shi;Delong Lv;Zhibin Ye
通讯作者: Zhibin Ye