Dynamic link library processing method and device, electronic equipment and readable storage medium

The embodiment of the invention provides a dynamic link library processing method and device, electronic equipment and a readable storage medium. The method comprises the steps that information of each first function interface in a first dynamic link library is extracted; the first dynamic link libr...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG LIANGPU, ZENG LU, ZHAO DONGRU
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 embodiment of the invention provides a dynamic link library processing method and device, electronic equipment and a readable storage medium. The method comprises the steps that information of each first function interface in a first dynamic link library is extracted; the first dynamic link library is obtained by compiling a source file of the target module under the source platform; based on the information of each first function interface, constructing a second function interface corresponding to each first function interface, and compiling under the target platform to obtain a second dynamic link library; and running a target program in a target platform, when a target instruction for calling a target second function interface is executed, analyzing an initial address of a target function in the first dynamic link library by calling a binary translator, and translating and executing the target function from the initial address. According to the embodiment of the invention, under the condition that the