Title
An LLVM-based hybrid binary translation system
Abstract
Static binary translation (SBT) systems and dynamic binary translation (DBT) systems have their own merits and disadvantages. SBT can perform whole-program optimizations and do not incur run-time overheads. However, the code discovery and the code location problems caused by indirect branches make SBT systems hard to develop. On the other hand, DBT can perform optimizations based on program's runtime behaviors and can handle indirect branches easily. However, because the translation time accounts for a part of the execution time, DBT systems cannot perform aggressive optimizations. Therefore, quality of the code generated by DBT is not as good as that by SBT. In this paper, we present a hybrid binary translation (HBT) system which combines the merits of both SBT and DBT. It leverages the LLVM infrastructure to translate source binary code, optimize, and generate target binary code. It first translates binary statically. If a run-time exception happens, the HBT system switches to dynamic translation. On the EEMBC benchmark suite, our experimental result shows that the HBT system can run about 4 to 20 times faster than a LLVM-based DBT system.
Year
DOI
Venue
2012
10.1109/SIES.2012.6356589
SIES
Keywords
Field
DocType
runtime behavior,execution time,llvm infrastructure,program interpreters,code discovery,dynamic translation,code generation,run-time overhead,code location problem,hbt system,dbt systems,exception handling,target binary code,whole-program optimization,sbt systems,run-time exception,dynamic binary translation,source binary code,llvm-based hybrid binary translation system,translation time,static binary translation,assembly,registers,generators,binary codes,optimization,switches
Suite,Computer science,Parallel computing,Exception handling,Binary code,Real-time computing,Binary translation,Execution time,Binary number
Conference
ISBN
Citations 
PageRank 
978-1-4673-2683-4
3
0.39
References 
Authors
8
4
Name
Order
Citations
PageRank
Bor-Yeh Shen1254.00
Jyun-Yan You230.39
WUU YANG338355.85
Wei-Chung Hsu471958.87