本文已被:浏览 2155次 下载 4450次
Received:September 03, 2010 Revised:November 13, 2010
Received:September 03, 2010 Revised:November 13, 2010
中文摘要: 介绍一个可以在多种处理器体系结构上运行的轻量级x86 模拟器PIT(Portable x86 Instruction Translator)。“动态二进制指令翻译”是一个可以让一种机器的指令运行在另一种机器上的技术。PIT 采用了可移植的动态二进制指令翻译技术,可以在多种体系结构(包括x86,PowerPC,ARM, Sparc)的CPU 上模拟执行英特尔x86 指令。用户可以在PIT 环境中加载x86 系统上在用户态运行的常用格式的16 位或32 位可执行文件(包括COM,EXE,ELF)运行并观察输出结果。PIT 采用了指令块动态缓存和条件码延迟计算的技术用于加速指令翻译的效率,使用虚拟x86 MMU(内存管理单元)的方式支持指令在PIT 虚拟环境中对4GB 内存空间进行寻址。只需要通过简单的配置和重新编译,PIT 就可以在不同的CPU 体系结构上模拟运行x86 系统上的可执行文件。
Abstract:This paper presents a light-weight x86 emulator PIT (Portable x86 Instruction Translator) which is portable on multiple CPU architecture. “Dynamic binary translation” is a technique that can make instructions of one CPU architecture be capable of running on another CPU architecture. PIT utilizes portable dynamic binary translation technique to emulate Intel x86 instructions on multiple CPU architecture such as x86, PowerPC, ARM and Sparc. Users can load 16-bit or 32-bit user-level executable files of x86 system such as COM, EXE and ELF into PIT, execute them and observe the output. PIT utilizes Transferred Block Dynamic Cache and Condition Code Lazy Computation techniques to accelerate instruction translation. With virtual x86 MMU (Memory Management Unit), emulated instructions can address 4GB memory space in PIT virtual environment. With simple configuration and re-compiling, PIT can be easily ported and run x86 executable files on different CPU architectures.
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
CAO Huan-Yin | Software School, Fudan University, Shanghai 200433, China |
ZHANG Yan | Software School, Fudan University, Shanghai 200433, China |
Author Name | Affiliation |
CAO Huan-Yin | Software School, Fudan University, Shanghai 200433, China |
ZHANG Yan | Software School, Fudan University, Shanghai 200433, China |
引用文本:
曹欢寅,张妍.一个高可移植性的轻量级x86 模拟器.计算机系统应用,2011,20(5):101-104,143
CAO Huan-Yin,ZHANG Yan.Highly Portable Light-Weight x86 Emulator.COMPUTER SYSTEMS APPLICATIONS,2011,20(5):101-104,143
曹欢寅,张妍.一个高可移植性的轻量级x86 模拟器.计算机系统应用,2011,20(5):101-104,143
CAO Huan-Yin,ZHANG Yan.Highly Portable Light-Weight x86 Emulator.COMPUTER SYSTEMS APPLICATIONS,2011,20(5):101-104,143