Invention Grant
- Patent Title: Method for control flow isolation with protection keys and indirect branch tracking
-
Application No.: US17882007Application Date: 2022-08-05
-
Publication No.: US11977889B2Publication Date: 2024-05-07
- Inventor: Matthias Neugschwandtner , William Blair
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Becker Bingham Ledesma LLP
- Agent Brian Miller
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/455 ; G06F21/54

Abstract:
Herein is innovative control flow integrity (CFI) based on code generation techniques that instrument data protection for access control of subroutines invoked across module boundaries. This approach is counterintuitive because, even though code is stored separately from data, access control to the data is used to provide access control to the code. In an embodiment, an instrumentation computer generates, at the beginning of a subroutine that is implemented in machine instructions, a prologue that contains: a first instruction of the subroutine that indicates that the first instruction is a target of a control flow branch and a second instruction of the subroutine that verifies that a memory address is accessible. Generated in the machine instructions are instruction(s) that, when executed by a processor, cause the memory address to have limited accessibility. Some code generation may be performed at the start of runtime by a loader or a dynamic linker.
Public/Granted literature
- US20240045679A1 METHOD FOR CONTROL FLOW ISOLATION WITH PROTECTION KEYS AND INDIRECT BRANCH TRACKING Public/Granted day:2024-02-08
Information query