Loading method of LINUX compressed application program

The invention relates to the field of application program compression and loading. The invention particularly discloses a loading method of an LINUX compression application program. The method comprises the following steps: 1, reading a compressed file from a storage area, decompressing the file to...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: HUANG BINGDONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of application program compression and loading. The invention particularly discloses a loading method of an LINUX compression application program. The method comprises the following steps: 1, reading a compressed file from a storage area, decompressing the file to a system cache, analyzing an application file, reading the content of each section and each sectionheader in the application file, calculating the total length of the memory occupied by each section and a related link library, creating a new linear region in the current process, allocating a physical memory space to the linear region through zero clearing, copying the content of each section of the application program to the linear region, loading a dynamic library linked with the application program to the linear region, and releasing the cache occupied by the compressed file, finding the function entry address of the loaded application program, obtaining the offset address of the application program in the linear