Patent ID: 11900087
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method comprising:
receiving, by a software modernization service provided by a cloud provider network, a request to re-platform a software application from a first instruction set architecture (ISA) to a second ISA, wherein a first binary file used to execute the software application on computing hardware implementing the first ISA is stored in a computing environment that is distinct from the cloud provider network; and
generating, at least in part by computing resources provisioned by the software modernization service, a second binary file to be used to execute the software application on second computing hardware implementing the second ISA by:
performing a static binary translation of instructions contained in the first binary file to obtain first binary translation results, wherein the static binary translation involves translating instructions contained in the first binary file to a language-independent intermediate representation,
performing a dynamic binary translation based on execution of the first binary file to obtain second binary translation results, wherein the dynamic binary translation involves translating instructions obtained from the first binary file during runtime to the language-independent intermediate representation,
determining a percentage of code contained in the first binary file covered by the dynamic binary translation relative to the static binary translation,
terminating the dynamic binary translation responsive to determining that the percentage of the code exceeds a threshold,
combining the first binary translation results and the second binary translation results to obtain combined translation results, and
using a compiler associated with the language-independent intermediate representation to compile the combined translation results into the second binary file.