Invention Grant
- Patent Title: Methods and apparatus for packet-based validation of control-flow transfers for hardware control-flow enforcement
-
Application No.: US15060274Application Date: 2016-03-03
-
Publication No.: US10558808B2Publication Date: 2020-02-11
- Inventor: Daniel Godas-Lopez
- Applicant: QUALCOMM Incorporated
- Applicant Address: US CA San Diego
- Assignee: Qualcomm Incorporated
- Current Assignee: Qualcomm Incorporated
- Current Assignee Address: US CA San Diego
- Agency: Loza & Loza, LLP
- Main IPC: G06F21/57
- IPC: G06F21/57 ; G06F21/52

Abstract:
Disclosed are methods and apparatus for packet based validation of control flow transfers for hardware control-flow enforcement. The methods and apparatus achieve control-flow validation through the determination of a first identifier for a source packet that implements a jump, where the determination is based on a computation using contents within the source packet itself. Similarly, a second identifier is determined for a target packet to which the source packet is directed based on a computation using contents of the target packet. The identifiers may be predetermined based on the packet contents, and may also involve insertion of No Operation instructions to ensure the computations based on the packet contents yield the desired identifiers. The identifiers may then be compared to determine whether they match or are compatible, and an invalid control flow can be detected if they are not compatible.
Public/Granted literature
Information query