摘要
回调函数的逆向恢复是静态二进制翻译的一个难点。针对使用C后端的静态二进制翻译框架,提出并实现回调函数逆向恢复方法,该方法结合代码间隙分析,在后端C代码生成过程中插入映射源回调函数地址到目标机函数地址的代码。相对于使用解释器的方法,该方法具有实现简洁,在目标机上运行速度更快的优点。
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.
出处
《计算机应用》
CSCD
北大核心
2008年第3期782-784,共3页
journal of Computer Applications
基金
国家863计划项目(2006AA01Z408)
关键词
静态二进制翻译
回调函数
可执行链接格式文件
static binary translation
callback function
Executable and Linking Format (ELF) file