Static safety analysis for control-flow linearization
AssigneeInternational Business Machines Corporation
InventorJeeva Paudel
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorJeeva Paudel
Estimating the term…
A static safety analysis for control-flow linearization receives a control flow graph (CFG) and an intermediate representation of a computer program, and identifies, for a given loop, all memory load instructions belonging to one side of a diamond-shape structure in the CFG. For each representation of an address of each memory load instruction identified, determining whether it is used on all other sides of the diamond-shape structure. Responsive to determining each representation of an address of each memory load instruction on the one side of the diamond-shape structure is used on all other sides of the diamond-shape structure, determining whether an immediate predecessor of a top of the diamond-shape structure for the given loop post-dominates a header of the given loop. Responsive to determining the immediate predecessor of the top of the diamond-shape structure for the given loop post-dominates the header of the given loop, affirming safety of linearization.
A computer-implemented process for static safety analysis for control-flow linearization, the computer-implemented process comprising:
A system for static safety analysis for control-flow linearization, the system comprising:
A computer program product comprising a computer readable storage medium having computer readable program instructions for static safety analysis for control-flow linearization thereon for causing a processor to perform a method comprising:
Dependencies are inferred from the claim text.