摘要
当前二进制翻译中通用的main函数定位方法依赖于符号表,随着strip工具的普遍应用,二进制可执行文件中往往不存在符号表。该文描述了strip工具的应用目的,分析了其应用对二进制翻译的影响,基于ELF文件加载机制的分析,提出了一种新的main函数定位技术,通过对IA-32及IA-64下ELF格式二进制文件的翻译,证明该技术是有效的。
Nowadays, the common method of addressing the entry point of main relies on symbol table. With the widely use of strip utility, the binary file does not contain symbol table anymore. The paper describes the purpose of strip utility first, then analyzes the effects of using strip on binary translation, basing on the analysis of ELF loading mechanism, puts forward a new technique to addressing main entry point. The technique is proved to be effective by the translation of ELF binary files in IA-32 and IA-64.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第6期89-91,共3页
Computer Engineering
基金
国防重点科研基金资助项目