Program cross-architecture migration method and device, computer equipment and storage medium
The invention relates to the technical field of program migration, in particular to a program cross-architecture migration method and device, computer equipment and a storage medium. The method comprises: obtaining a source program; when the source program is the source program of the non-open sourc...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of program migration, in particular to a program cross-architecture migration method and device, computer equipment and a storage medium. The method comprises: obtaining a source program; when the source program is the source program of the non-open source software, compiling a packaging function corresponding to a source architecture library function on the target architecture to obtain a mapping relationship between the library function and the packaging function; modifying the address of the function with the mapping relation in the source binary file and the library file of the source program into the address of the packaging function; and translating the files without the mapping relation function in the source binary file and the library file into a programming language of the target architecture by adopting a binary translator. According to the embodiment, for a source program of non-open source software, migration of the functions is achieved by writing the |
---|