Dissertation > Excellent graduate degree dissertation topics show

Research on Dynamic Binary Translation and Optimization Based on QEMU

Author: LuoYan
Tutor: LiYing
School: Zhejiang University
Course: Applied Computer Technology
Keywords: Dynamic Binary Translation QEMU Code Cache management Self-Modifying Code
CLC: TP314
Type: Master's thesis
Year: 2013
Downloads: 4
Quote: 0
Read: Download Dissertation

Abstract


Binary translation is an important technique to resolve the problem of processor compatibility, code migration and legacy code, and it has been a hot point in modern computer development field. Meanwhile, dynamic binary translation is the mainstream of binary translation as it combines the virtues of interpretive execution and static binary translation. This paper is the continuation of QEMU porting project, which is a sub-topic of National Important Science&Technology Specific Projects of China. In this paper, we mainly study the mechanism of dynamic binary translation in QEMU, attempted to promote its translation performance.The main contributions of this dissertation are:1. We deeply analyzed the realization mechanism and key techniques of QEMU dynamic binary translation, like TCG and basic block chaining. We also analyzed the optimization in QEMU binary translation, in order to dig the opportunities of possible optimization.2. We studied and tested current code cache management policy in QEMU, and the experiment shows that when the size of code cache is under64KB, the simulation performance sharply decreased for over half testcases in Mibench testsuite. According to this case, static division based code cache management is proposed in this paper. The basic point of this optimization is that code cache is divided into two sizeable parts by reading the configuration at startup, and then the generated code is stored to one specific part according to its exection times. The experiment proved that when cache size is under64KB, the optimization scheme can play a very good result to most testcases.3. We found that in current QEMU self-modifying code management policy, when code self-modifying happens, the simulation performance sufferes a severe decline. In order to decrease the impact of self-modifying code, this paper proposed a precise self-modifying code management policy, which is base on backtracking. In our policy, the basic block which has code modified is tracked by backtracking, and then minimum changes will be done to original process. The experiment shows that the proposed policy can decrease the processing overhead of each code modification to1/3in average, when comparing to QEMU’s mechanism.

Related Dissertations

  1. The Research and Implementation of the Qemu-Based Embedded Validation Emulation Environment,TP368.1
  2. The Design and Implementation of a buffer overflow attack detection tools,TP309
  3. The Design and Implementation of a Method of Remote PCI Device Driver,TP316.81
  4. Dynamic translation and optimization of a number of key technologies,TP391.2
  5. Self-modifying code reverse analysis method,TP393.08
  6. Research on Dynamic Binary Translation Based Co-designed Virtual Machine,TP302
  7. Research on the Design and Implementation Techniques of Customizing Application Specific Instruction Set Processors,TP332
  8. Research on Operating System Level Virtualization Based on Dynamic Binary Transalation,TP316
  9. IA-32 Memory Management Unit Virtualization on IA-64 Platform Based on Dynamic Binary Translation,TP314
  10. Study of Profile-based Optimization Algorithms in Dynamic Binary Translation,TP391.2
  11. Design and Implement of the TCache of CrossBit Binary Translator,TP391.2
  12. Design and Implementation of Floating Point Unit in Retargetbale Dynamic Binary Translator,TP391.2
  13. Two Topics on Dynamic Binary Translation and Optimization,TP391.2
  14. The Design and Implementation of Dynamic Binary Translation Based Reversible Debugger,TP311.52
  15. Metadata - based dynamic optimization,TP301
  16. Optimization of Virtual Machine Based on GODSON CPU,TP332
  17. Research on Argos Capturing of Zero-day Attack,TP393.08
  18. Research on Detection Methods of Multi-threaded Program Based on Dynamic Binary Instrumentation Tools2,TP391.2
  19. Branch Analysis and Optimization in Dynamic Binary Translation,TP391.2
  20. The Design and Implementation of Distributed Dynamic Binary Translation Framework for Thin-client,TP391.2
  21. Multithreaded Dynamic Binary Trans Lation Optimization Framework Based on Multi-core Platform,TP391.2

CLC: > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer software > Compiler,interpreter
© 2012 www.DissertationTopic.Net  Mobile