###
DOI:
计算机系统应用英文版:2015,24(10):116-121
本文二维码信息
码上扫一扫!
基于模式匹配的机器码翻译
(1.中国科学技术大学 计算机科学与技术学院, 合肥 230027;2.安徽省高性能计算重点实验室, 合肥 230027)
Machine Code Translation Based on Pattern Matching
(1.School of Computer Science and Technology, USTC, Hefei 230027, China;2.Anhui High Performance Computing key laboratory at Hefei, USTC, Hefei 230027, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1304次   下载 1987
Received:February 06, 2015    Revised:April 26, 2015
中文摘要: 机器码翻译是把机器码转换成汇编代码的过程, 常用于反汇编、程序调试、病毒分析等领域. 机器码翻译依赖于描述指令集的一系列表格, 包括指令格式表、操作码表、寻址方式表等. 传统的机器码翻译方法, 通过逐步查询这些表格, 找到对应机器码的汇编码, 从而实现翻译. 由于传统方法查表过程复杂, 导致其翻译速度较慢. 本文提出了基于模式匹配的方法, 通过简化机器码翻译的查表过程, 从而在一定程度上提高机器码翻译速度. 同时, 采用该方法实现的程序开发时间更短、后期维护更容易.
中文关键词: 机器码翻译  模式匹配  反汇编  指令集
Abstract:Machine code translation converts machine code into assembler code, commonly used in disassembly, debugging, virus analysis and other fields. Machine code translation is based on a series of tables which are used as the description of the instruction set, including the instruction set format table, the op-code table, the addressing table, and so on. Traditional translation methods query these tables step by step to find the corresponding assembly code. Traditional methods are usually slow because of the complexity of table look-up process. This paper proposes a method based on pattern matching. By simplifying the table look-up process, the speed of the machine code translation to some extent. And at the same time, it's much easier to develop and maintain the translation program by this method.
文章编号:     中图分类号:    文献标志码:
基金项目:"核高基"重大专项(2012ZX01034-001-001)
引用文本:
李彭勇,郑启龙,郭连伟,刘京.基于模式匹配的机器码翻译.计算机系统应用,2015,24(10):116-121
LI Peng-Yong,ZHENG Qi-Long,GUO Lian-Wei,LIU Jing.Machine Code Translation Based on Pattern Matching.COMPUTER SYSTEMS APPLICATIONS,2015,24(10):116-121