CODE PROCESSING METHOD AND APPARATUS, AND STORAGE MEDIUM
This application discloses a code processing method and apparatus, and a storage medium. The method includes: obtaining a low-level language-based first code that is applied to a source platform; decompiling the obtained first code to obtain an intermediate representation IR; and then compiling the...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application discloses a code processing method and apparatus, and a storage medium. The method includes: obtaining a low-level language-based first code that is applied to a source platform; decompiling the obtained first code to obtain an intermediate representation IR; and then compiling the IR into a low-level language-based second code that is applicable to a first target platform, where the source platform and the target platform have different instruction sets. For example, code applicable to the x86 platform may be converted into code applicable to an ARM platform. This implements cross-platform software code migration without using program code manually written by a skilled person. In this way, the software code on the source platform can be migrated to the target platform for running, which can reduce a difficulty in constructing a software ecosystem of the first target platform. |
---|