首页>
外国专利>
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.
展开▼