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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHU SHENG, SUN HAOSONG, GUAN XIAOJUAN, WANG CHENFEI, WANG CHEN, GUO CAIWEI, HAO JINGCHANG, NI WENSHU, ZHOU CHENG
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 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