Building Process Virtual Machine via Dynamic Binary Translation

Author
BaoYunCheng
Advisor
ChenYing
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2007
Downloads
226
Citations
7

Request the full text

Abstract

Traditional computer software and lower the machine platform has a strong dependency , The platform compiled program for a machine can not run on other platforms . This affects the software portability and mobility ; further development is subject to a large number of existing software of the machine platform , in order to ensure forward compatibility can not innovate on the hardware and software interfaces . Virtual machine as an intermediate layer between the hardware and software lifted the coupling between the two , so that the binary code of the software is no longer run directly on top of the physical machine . Binary translation (Binary Translation) is the key to achieving high-performance virtual machine technology , binary machine code to convert its source machine to run on the target machine . This paper studies how to make use of dynamic binary translation technology tectonic process virtual machine , the user-level program out of the limitations of the operating system and the instruction set architecture , running on different target platforms . Reviewed and compared to binary translation technology , the article describes the dynamic binary translation base platform CrossBit the prototype system to achieve the the SimpleScalar program runs on x86 physical machine , that is, on the x86 platform of the the SimpleScalar of virtual machine . CrossBit design goals is to redirect and scalability . The redirected lies intermediate instruction set VInst , a low level virtual the streamlined machine instruction system , which effectively isolated the source machine and the target machine , reducing the entire system and machine . CrossBit design also has a module division and interface definitions , easily expand and optimize its basis , suitable for further research and development of related technologies . This article explores the CrossBit system structure , especially middle the instructions VInst the design ideas , analysis of of various key CrossBit module implementations , including the loading of the memory image of the source machine , intermediate instruction block structure and optimization , object code generation . Finally, the experimental data shows that the system run more efficiently than traditional software explained .

Table of contents

Summary 5-6 ABSTRACT 6-8 first chapter 8-13 1.1 Background 8-11 < br /> 1.2 about this article 11-13 from software explained binary translator the basic 13-24 2.1 software explained 13-15 < br /> 2.2 pre-decoding 15-16 , 2.3 tandem explain the 16-18 2.4 binary translator 18-22 2.5 Chapter Summary 22-24 Chapter dynamic binary translation foundation the platform CROSSBIT 24-38 3.1 design goals 24-25 3.2 system architecture 25-28 3.3 intermediate instruction the 28-31 3.4 CROSSBIT of , middle instruction set - VINST 31-37 3.5 Chapter Summary 37 - 38 Chapter CROSSBIT the implementation and performance analysis 38-59 4.1 SIMPLESCALAR Profile . 38-40 4.2 memory image loader 40 - 45 4.3 source machine instruction interpreter 45-46 4.4 intermediate instruction block constructor 46-48 the 4.5 intermediate instruction blocks converter 48 -51 4.6 target machine instruction translator 51-55 4.7 the run TBLOCK 4.8 performance Analysis 55-57 57-58 <br / > 4.9 Chapter Summary 58-59 fifth . chapter conclusions 59-60 5.1 future work 59 5.2 Full Summary 59 -60 reference 60-63 Acknowledgements 63-64 involved in the subject and has published papers 64-

Related dissertations

  1. Dynamic Optimization and Microprocessor Architecture Support for Dynamic Binary Translation
  2. Design and Implementation of game scripting engine
  3. The Optimization of CrossBit Binary Translator: A Research & Implement on Multithreaded Engine
    GuanXiaoFeng ·Shanghai Jiaotong University ·2008 ·Master's thesis
  4. Research and Implementation of C-alike Teaching Language for Compiler Principles
    GaoYanLing ·Dalian Maritime University ·2007 ·Master's thesis
  5. Design and Implementation of Soft PLC for Open CNC
  6. Research and Implementation of Adaptive Dynamic Translation
    LiJieCong ·Zhejiang University ·2006 ·Master's thesis
  7. Research on SQL Complier of Database Engine
    ZouHui ·Wuhan University of Technology ·2010 ·Master's thesis
  8. Implementation of Standalone Programmable Motion Controller
    LiuChang ·South China University of Technology ·2011 ·Master's thesis
  9. Research and Implementation of Mainframe Simulation COBOL Integrated Debugging Environment
    SuZhaoCong ·Jilin University ·2011 ·Master's thesis
  10. Design and Implementation of Robot Graphic Programming System
    XuCheng ·Wuhan University of Technology ·2010 ·Master's thesis
  11. Analysis on AOSD and Compiler Technology
    ZhangGuMing ·Suzhou University ·2011 ·Master's thesis
  12. Research on Performance Monitoring Technique of Cluster Management of the Virtual System
    WangXiaoJuan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  13. Research on Attacks and Prevention Technology Based on ARP and PPPoE
    ZhangWen ·Sichuan Normal University ·2013 ·Master's thesis
  14. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  15. Condition Code Optimization in Binary Translation System for ARM
    DuBin ·Beijing Jiaotong University ·2014 ·Master's thesis
  16. Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
  17. The Design and Implementation of a Complier for SCADA Based on C
  18. Backend Porting for CSKY Based on LLVM Compiler Infrastructure
    HuMin ·Zhejiang University ·2014 ·Master's thesis
  19. The virtual system self-healing analysis model research and Application
  20. A Data Persistence System for Virtual Ma-chines in Cloud Environment