Patents
US 11,029,952 B2#134331732 Most CitedActiveUnited States (USPTO)Utility

Hardware apparatuses and methods to switch shadow stack pointers

0Forward Citations (#134331732 Global)
0.0/yrCitation Velocity (#134331732 Global)
0.56Citation PageRank (#134331732 Global)
50Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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

  2. 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)

PatentTitleYearCitations
US 3,794,980 AApparatus and method for controlling sequential execution of instructions and nesting of subroutines in a data processor197433
US 5,287,309 AHigh-speed stack memory199429
US 5,497,494 AMethod for saving and restoring the state of a CPU executing code in protected mode1996122
US 5,499,349 APipelined processor with fork, join, and start instructions using tokens to indicate the next instruction for each of multiple threads of execution1996159
US 5,634,046 AGeneral purpose use of a stack pointer register199764
US 5,640,582 ARegister stacking in a computer system199779
US 5,862,400 AFormula processor having cache means for storing and retrieving results of previously computed formulas based on identification and dependency information199942
US 5,968,169 ASuperscalar microprocessor stack structure for judging validity of predicted subroutine return addresses1999113
US 6,128,728 AVirtual shadow registers and virtual register windows2000114
US 2002019902 A1Stack switching mechanism in a computer system—39
TW 486,667 BMemory reference instructions for micro engine used in multithreaded parallel processor architecture20028
US 2003196076 A1Communications system using rings architecture—40
TW 559,729 BInstruction for multithreaded parallel processor200312
CN 1,469,254 AProcessor apparatus, information processor using the same, compiling apparatus and method thereof—12
US 6,751,749 B2Method and apparatus for computer system reliability200477
US 2004168078 A1Apparatus, system and method for protecting function return address—121
US 2004221141 A1Method for managing a microprocessor stack for saving contextual data—14
US 2005044292 A1Method and apparatus to retain system control when a buffer overflow attack occurs—48
US 2005097262 A1System and method for monitoring and managing processor-internal memmories of a process-executing unit—15
US 7,086,088 B2Preventing stack buffer overflow attacks200638
TW 200,709,041 AComputer system or processor with method of performing a shadow register operation—9
US 2007136728 A1Computer readable medium in which program is stored, computer data signal embodied in carrier wave, information processing apparatus that executes program, and program control method for executing program—15
KR 20080075175 AExpansion of a stacked register file using shadow registers—12
US 7,581,089 B1Method of protecting a computer stack2009144
US 2009320129 A1Secure control flows by monitoring control transfers—46
US 2010115243 A1Apparatus, Method and Instruction for Initiation of Concurrent Instruction Streams in a Multithreading Microprocessor—17
US 2010174893 A1Runtime checking of dynamic subranges—46
US 2010293342 A1Data processing apparatus—72
US 2012030392 A1System and Method for Automatic Hardware Interrupt Handling—23
US 2012036341 A1Data processing apparatus, for example using modes—59

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.