Computer Engineering and Applications ›› 2007, Vol. 43 ›› Issue (6): 105-107.

• 产品、研发、测试 • Previous Articles     Next Articles

The Recovery of Indirect Procedure Call for Static Binary Translation

  

  • Received:2006-02-23 Revised:1900-01-01 Online:2007-02-21 Published:2007-02-21

静态二进制翻译中间接过程调用恢复技术研究

丁松阳 赵荣彩   

  1. 河南财经学院计算机科学系 中国科学院计算技术研究所
  • 通讯作者: 丁松阳

Abstract: The recovery of indirect procedure call is a difficult problem in static binary translation. For the static binary translation of using c language as backend, this paper put forward a technique of analyzing the gap code and plugging codes into the target programs that searching the target procedure address basing on the source procedure address. This method can be implemented effectively. It has the advantage of code running faster in the target.

Key words: Static binary translation, Indirect procedure call, Interpreter, Code gap

摘要: 间接过程调用的恢复问题是静态二进制翻译中的难点之一。针对使用c后端的静态二进制翻译框架,提出并实现间接过程调用恢复方法,该方法结合代码间隙分析,在后端c代码生成过程中插入映射源过程地址到目标机过程地址的代码。相对于使用解释器的方法,该方法具有实现简洁、在目标机上运行速度更快的优点。

关键词: 静态二进制翻译, 间接过程调用, 解释器, 代码间隙