Hardware apparatuses and methods to switch shadow stack pointers
AssigneeIntel Corporation
InventorsVedvyas Shanbhogue, Jason W. Brandt, Ravi L. Sahita, Barry E. Huntley, Baiju V. Patel, Deepak K. Gupta
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsVedvyas Shanbhogue, Jason W. Brandt, Ravi L. Sahita, Barry E. Huntley, Baiju V. Patel, Deepak K. Gupta
Estimating the term…
Methods and apparatuses relating to switching of a shadow stack pointer are described. In one embodiment, a hardware processor includes a hardware decode unit to decode an instruction, and a hardware execution unit to execute the instruction to: pop a token for a thread from a shadow stack, wherein the token includes a shadow stack pointer for the thread with at least one least significant bit (LSB) of the shadow stack pointer overwritten with a bit value of an operating mode of the hardware processor for the thread, remove the bit value in the at least one LSB from the token to generate the shadow stack pointer, and set a current shadow stack pointer to the shadow stack pointer from the token when the operating mode from the token matches a current operating mode of the hardware processor.
A processor comprising:
A method comprising:
An apparatus comprising:
A system comprising:
A processor comprising:
A non-transitory machine-readable storage medium storing code that if executed causes a machine to perform operations, including to:
Dependencies are inferred from the claim text.