计算机应用

• 典型应用 • 上一篇    下一篇

静态二进制翻译中回调函数逆向恢复技术研究

丁松阳 赵荣彩   

  1. 河南财经学院计算机科学系;解放军信息工程学院计算机科学系
  • 收稿日期:2007-09-13 修回日期:1900-01-01 发布日期:2008-03-01 出版日期:2008-03-01
  • 通讯作者: 丁松阳

Recovery of callback function for static binary translation

<a href="http://www.joca.cn/EN/article/advancedSearchResult.do?searchSQL=(((Song-Yang DING[Author]) AND 1[Journal]) AND year[Order])" target="_blank">Song-Yang DING</a>   

  • Received:2007-09-13 Revised:1900-01-01 Online:2008-03-01 Published:2008-03-01
  • Contact: Song-Yang DING

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

关键词: 静态二进制翻译, 回调函数, 可执行链接格式文件

Abstract: The recovery of callback function 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 which searched the callback function address based on the source function address. This method can be implemented effectively. The speed of translated code running exceeds the speed of using interpreter.

Key words: static binary translation, callback function, Executable and Linking Format (ELF) file