Invention Grant
- Patent Title: Dynamic loading method, and target file creation method and apparatus
-
Application No.: US16877827Application Date: 2020-05-19
-
Publication No.: US10908925B2Publication Date: 2021-02-02
- Inventor: Sun Chung Chan , Jisong Huang , Yanhui Huang
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Guangdong
- Priority: CN201711160959 20171120
- Main IPC: G06F3/00
- IPC: G06F3/00 ; G06F9/445 ; G06F9/54

Abstract:
The application provides a dynamic loading method, and a target file creation method and apparatus to save memory resources. The method includes: loading a dynamic link library file during a running process of an application program on a terminal device, where the dynamic link library file includes a symbol that can implement a functionality in the application program, and the symbol includes a function and/or a variable; reading a first index from a source file of the application program; determining, based on a global symbol table, a first symbol address corresponding to the first index, where the first symbol address is used for indicating a physical address of the symbol that can implement the functionality and invoking the symbol from the dynamic link library file according to the first symbol address, to complete running of the application program.
Public/Granted literature
- US20200278875A1 DYNAMIC LOADING METHOD, AND TARGET FILE CREATION METHOD AND APPARATUS Public/Granted day:2020-09-03
Information query