摘要
文章分析了ELF文件的基本结构,以及在Qutenix中加载运行ELF可执行文件的实现方法及技术要点.内容包括识别ELF格式、加载环境变量及命令行参数、加载可执行文件代码、重载LDT描述符、加载可执行文件入口地址、创建与安装ELF格式Shell命令文件等.文章以一个实例演示Qutenix兼容运行a.out和ELF两种格式可执行文件的结果.
The paper analyzes the basic structure of ELF,and the implementation method and key techniques of loading and running ELF executable files on Qutenix,including checking the ELF format,loading the environment variables and command line parameters,loading the executable file code,resetting the LDT descriptor,setting the enter address of the executable file,and creating and installing ELF formatted shell command files,etc.It also presents an example to demonstrate the result of running compatibly both a.out and ELF formatted executable files on Qutenix.
出处
《南京晓庄学院学报》
2012年第3期101-105,共5页
Journal of Nanjing Xiaozhuang University