Methods and apparatus for packet-based validation of control-flow transfers for hardware control-flow enforcement
AssigneeQUALCOMM Incorporated
InventorDaniel Godas-Lopez
Life of this patent
Estimating the term…
Loading patent…
AssigneeQUALCOMM Incorporated
InventorDaniel Godas-Lopez
Estimating the term…
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.
A method for control-flow validation comprising:
An apparatus for control-flow validation comprising:
An apparatus for control-flow validation comprising:
A processor-readable storage medium having one or more instructions which, when executed by at least one processing circuit, cause the at least one processing circuit to:
The processor-readable storage medium of 36, where the comparison to determine compatibility of the first and second identifiers includes determining at least one of (1) if the first instruction in target packet is a NOP instruction and (2) if the first and second identifiers in the NOP instructions are compatible.
Dependencies are inferred from the claim text.