Patent ID: 11886848
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The system of claim 9, wherein the reconciling, by the binary translator using the compiler-produced metadata, original compiler-produced control flow information with how lower-level machine instructions comprise the control flow in the raw binary code further comprising:
creating, by the binary translator using the descriptive binary data from original compiler-produced modules, progressively splitting basic blocks to be used during optimization and code generation phases by:
splitting machine instructions using information about the basic blocks in the IR and out-of-line basic blocks in the descriptive binary data;
splitting the machine instructions further by analyzing branch instructions in the raw binary code in each IR-based basic block; and
splitting the machine instructions further at calls which never return as determined from the descriptive binary data; and
creating, by the binary translator control-flow edges between the basic blocks by:
analyzing targets of direct branch instructions in the raw binary data, and
adding edges in the IR of the binary translator using the descriptive binary data for targets of indirect branch instructions.