CORC  > 北京大学  > 信息科学技术学院
SPIRE: Improving dynamic binary translation through SPC-indexed indirect branch redirecting
Jia, Ning ; Yang, Chun ; Wang, Jing ; Tong, Dong ; Wang, Keyi
2013
英文摘要Dynamic binary translation system must perform an address translation for every execution of indirect branch instructions. The procedure to convert Source binary Program Counter (SPC) address to Translated Program Counter (TPC) address always takes more than 10 instructions, becoming a major source of performance overhead. This paper proposes a novel mechanism called SPc-Indexed REdirecting (SPIRE), which can significantly reduce the indirect branch handling overhead. SPIRE doesn't rely on hash lookup and address mapping table to perform address translation. It reuses the source binary code space to build a SPC-indexed redirecting table. This table can be indexed directly by SPC address without hashing. With SPIRE, the indirect branch can jump to the originally SPC address without address translation. The trampoline residing in the SPC address will redirect the control flow to related code cache. Only 2-6 instructions are needed to handle an indirect branch execution. As part of the source binary would be overwritten, a shadow page mechanism is explored to keep transparency of the corrupt source binary code page. Online profiling is adopted to reduce the memory overhead. We have implemented SPIRE on an ??86 to ??86 DBT system, and discussed the implementation issues on different guest and host architectures. The experiments show that, compared with hash lookup mechanism, SPIRE can reduce the performance overhead by 36.2% on average, up to 51.4%, while only 5.6% extra memory is needed. SPIRE can cooperate with other indirect branch handling mechanisms easily, and we believe the idea of SPIRE can also be applied on other occasions that need address translation. Copyright ? 2013 ACM.; EI; 0
语种英语
DOI标识10.1145/2451512.2451516
内容类型其他
源URL[http://ir.pku.edu.cn/handle/20.500.11897/294535]  
专题信息科学技术学院
推荐引用方式
GB/T 7714
Jia, Ning,Yang, Chun,Wang, Jing,et al. SPIRE: Improving dynamic binary translation through SPC-indexed indirect branch redirecting. 2013-01-01.
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace