摘要
静态二进制翻译的入口点通常为main函数,所以main函数执行之前的动态地址解析部分就无法在目标机上恢复。通过分析基于ELF文件的动态地址解析机制,提出了在目标代码中插入代码模拟动态地址解析的方法来解决该问题。该方法已在静态二进制翻译项目中实现,测试结果表明该方法是有效的。
The entry pointer of static binary translation generally is the function of main,so the dynamic address resolving before program loading can't be recovered.Based on the analysis of ELF dynamic address resolving mechanism,this paper puts forward a method to simulate dynamic address resolving by inserting codes into the target program.This method has been implemented in the project of static binary translation, experimental results demonstrate that it is efficient.
出处
《计算机工程与应用》
CSCD
北大核心
2008年第22期59-61,67,共4页
Computer Engineering and Applications
基金
国家高技术研究发展计划(863)No.2006AA01Z408~~