首页> 外国专利> METHOD AND DEVICE FOR LOADING LINUX-SYSTEM ELF FILE IN WINDOWS SYSTEM

METHOD AND DEVICE FOR LOADING LINUX-SYSTEM ELF FILE IN WINDOWS SYSTEM

机译:在Windows系统中加载LINUX系统ELF文件的方法和装置。

摘要

A method and device for loading a Linux-system ELF file in a Windows system. The method comprises: parsing an ELF file according to the format of the ELF file (S101); loading the entire ELF file into a memory of a Windows system according to a Windows system memory storage rule (S102); according to a parsing result of the ELF file, acquiring a memory address, in the Windows system, of file content corresponding to a symbol recorded in a symbol table of the ELF file (S103); and linking the symbol and the memory address, in the Windows system, of the file content corresponding to the symbol (S104). The ELF file is loaded directly into the memory of the Windows system, so that symbols, such as functions, in the ELF file can operate directly on the Windows system without needing to install an Android virtual machine on the Windows system. The operation speed is also greatly improved, and the hard disk space and the memory occupancy are reduced.
机译:在Windows系统中加载Linux系统ELF文件的方法和设备。该方法包括:根据ELF文件的格式来解析ELF文件(S101);根据Windows系统内存存储规则,将整个ELF文件加载到Windows系统的内存中(S102);根据所述ELF文件的解析结果,在Windows系统中获取与所述ELF文件的符号表中记录的符号对应的文件内容的存储地址(S103);在Windows系统中,将符号和对应于该符号的文件内容的存储地址链接起来(S104)。 ELF文件直接加载到Windows系统的内存中,因此ELF文件中的符号(例如功能)可以直接在Windows系统上运行,而无需在Windows系统上安装Android虚拟机。操作速度也大大提高,并且减少了硬盘空间和内存占用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号