作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (20): 277-279. doi: 10.3969/j.issn.1000-3428.2011.20.094

• 开发研究与设计技术 • 上一篇    下一篇

基于动态二进制翻译技术的仿真器研究

陈 乔,蒋烈辉,董卫宇,徐金龙,方 明   

  1. (解放军信息工程大学信息工程学院,郑州 450002)
  • 收稿日期:2011-03-15 出版日期:2011-10-20 发布日期:2011-10-20
  • 作者简介:陈 乔(1985-),男,硕士研究生,主研方向:动态二进制翻译,计算机系统结构;蒋烈辉,教授、博士生导师;董卫宇,讲师、硕士;徐金龙、方 明,硕士研究生

Simulator Research Based on Dynamic Binary Translation Technology

CHEN Qiao, JIANG Lie-hui, DONG Wei-yu, XU Jin-long, FANG Ming   

  1. (College of Information Engineering, PLA Information Engineering University, Zhengzhou 450002, China)
  • Received:2011-03-15 Online:2011-10-20 Published:2011-10-20

摘要: 以动态二进制仿真器QEMU为平台,分析动态二进制翻译技术在仿真器开发中的应用,研究QEMU的翻译机制、优化策略、关键技术,并对相关重要代码进行解析。对仿真CPU的性能进行测试,结合分阶段的测试结果,从中找出制约仿真CPU性能的关键阶段,为后续的优化工作提供参考依据。

关键词: 动态二进制翻译, 软件移植, 中间指令, 精确异常, 自修改代码

Abstract: Using the dynamic binary translator QEMU as a research platform, this paper analyzes the dynamic binary translation technology used in the development of the simulator, studies in detail QEMU with the translation mechanism, optimization strategy, and key technologies and analyzes important related code. Simulation tests the performance of CPU, and combining phases test results, finds the restriction of the CPU performance simulation key stages, it provides reference for optimization.

Key words: dynamic binary translation, software migration, intermediate instructions, precise exception, self-modified code

中图分类号: