Abstract:
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.
Key words:
Binary translation,
Symbol table,
ELF,
Strip
摘要: 当前二进制翻译中通用的main函数定位方法依赖于符号表,随着strip工具的普遍应用,二进制可执行文件中往往不存在符号表。该文描述了strip工具的应用目的,分析了其应用对二进制翻译的影响,基于ELF文件加载机制的分析,提出了一种新的main函数定位技术,通过对IA-32及IA-64下ELF格式二进制文件的翻译,证明该技术是有效的。
关键词:
二进制翻译,
符号表,
ELF,
Strip
CLC Number:
QI Ning; DING Songyang; SUN Weixin; ZHAO Rongcai. Addressing Technology of ELF File’s main Entry Point Based on Loading Mechanism Analysis[J]. Computer Engineering, 2007, 33(06): 89-91.
齐 宁;丁松阳;孙维新;赵荣彩. 基于加载机制分析的ELF文件main函数定位技术[J]. 计算机工程, 2007, 33(06): 89-91.