DocumentCode :
1933636
Title :
Optimizing binary translation of dynamically generated code
Author :
Hawkins, Byron ; Demsky, Brian ; Bruening, Derek ; Qin Zhao
Author_Institution :
Univ. of California, Irvine, Irvine, CA, USA
fYear :
2015
fDate :
7-11 Feb. 2015
Firstpage :
68
Lastpage :
78
Abstract :
Dynamic binary translation serves as a core technology that enables a wide range of important tools such as profiling, bug detection, program analysis, and security. Many of the target applications often include large amounts of dynamically generated code, which poses a special performance challenge in maintaining consistency between the source application and the translated application. This paper introduces two approaches for optimizing binary translation of JITs and other dynamic code generators. First we present a system of efficient source code annotations that allow developers to demarcate dynamic code regions and identify code changes within those regions. The second technique avoids the annotation and source code requirements by automatically inferring the presence of a JIT and instrumenting its write instructions with translation consistency operations. We implemented these techniques in DynamoRIO and demonstrate performance improvements over the state-of-the-art DBT systems on JIT applications as high as 7.3× over base DynamoRIO and Pin.
Keywords :
program diagnostics; program interpreters; security of data; software fault tolerance; software maintenance; software performance evaluation; source code (software); system recovery; DynamoRIO; JIT; bug detection; code change identification; consistency maintenance; dynamic binary translation optimization; dynamic code generators; dynamic code regions; performance improvements; profiling; program analysis; security; source code annotations; translation consistency operations; Benchmark testing; Complexity theory; Data structures; Engines; Instruments; Optimization; Security;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Code Generation and Optimization (CGO), 2015 IEEE/ACM International Symposium on
Conference_Location :
San Francisco, CA
Type :
conf
DOI :
10.1109/CGO.2015.7054188
Filename :
7054188
Link To Document :
بازگشت