Hardware apparatuses and methods to switch shadow stack pointers
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A hardware processor comprising: 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 and a bit storing a bit value that indicates an operating mode of the hardware processor for the thread, the bit value selectable between a first bit value for a first operating mode with a first size and a second bit value for a second operating mode with a second, larger size, remove at least the bit value from the token to generate the shado
- Claim 2Independent Claim
The h
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Allowance Decision of Examination, TW App. No. 106101043, dated Oct. 20, 2020, 3 pages (1 page of English Translation and 2 pages of Original Document).
- AMD, “AMD64 Architecture Programmer's Manual vol. 3: General-Purpose and System Instructions”, Advanced Micro Devices Inc., AMD64 Technology, Rev. 3.22, Jun. 2015, 27 pages.
- Corliss et al., “Using DISE to Protect Return Addresses from Attack”, ACM SIGARCH Computer Architecture News, vol. 33, No. 1, Mar. 2005, pp. 65-72.
- Decision to grant a European patent pursuant to Article 97(1) EPC, EP App. No. 16814979.7, dated Nov. 29, 2020, 2 pages.
- European Search Report and Search Opinion, EP App. No. 20209381.1, dated Mar. 3, 2021, 13 pages.