Patents
US 8,990,546 B2#45138789 Most CitedActiveUnited States (USPTO)Utility

Data processing system with safe call and return

2Forward Citations (#45138789 Global)
0.2/yrCitation Velocity (#35858219 Global)
0.88Citation PageRank (#49342624 Global)
31Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Embodiments of a system and method are disclosed that can include a memory unit, and a memory management unit coupled to the memory unit. The memory management unit can include address mapping circuitry and access control circuitry operable to: provide address mappings for at least a frame stack and a link stack in the memory unit for programs being executed by the processing unit, and provide an access permission indicator applicable to any segment of the memory unit. A processing unit can save context information for a program to the frame stack, and execute a savelink instruction subsequent to the execution of a branch and link instruction. If the access permission indicator is set, the savelink instruction saves to the link stack a return address provided by the branch and link instruction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 2.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method comprising: in a system including a register file: allocating a link stack memory segment for storing a link stack; executing a branch and link instruction in which a program counter (PC) value is stored to the register file; executing a savelink instruction in which a link stack pointer value to the link stack memory segment is incremented; and if page attributes corresponding to the link stack memory segment having a memory location pointed to by the incremented link stack pointer has a stack attribute set, storing the PC value from the register file in the link stack memory segment

  2. Claim 2Depends on #1

    The method of claim 1 further comprising: if page attributes corresponding to the link stack memory segment pointed to by the incremented link stack pointer has the stack attribute cleared, generating a link stack access ex

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (2 of 2 total)

References Cited — Backward Prior Art (31)

PatentTitleYearCitations
US 4,558,176 AComputer systems to inhibit unauthorized copying, unauthorized usage, and automated cracking of protected software1985484
US 5,864,707 ASuperscalar microprocessor configured to predict return addresses from a return stack storage1999103
US 5,881,278 AReturn address prediction system which adjusts the contents of return stack storage to enable continued prediction after a mispredicted branch199943
US 5,890,189 AMemory management and protection system for virtual memory in computer system1999155
US 5,949,973 AMethod of relocating the stack in a computer system for preventing overrate by an exploit program199975
US 5,968,169 ASuperscalar microprocessor stack structure for judging validity of predicted subroutine return addresses1999113
US 6,070,198 AEncryption with a streams-based protocol stack200094
US 6,269,436 B1Superscalar microprocessor configured to predict return addresses from a return stack storage200172
US 6,301,699 B1Method for detecting buffer overflow for computer security2001137
US 6,578,094 B1Method for preventing buffer overflow attacks200390
US 6,618,797 B1Device and method for protection against stack overflow and franking machine using same200311
US 2003177328 A1Method and apparatus for controlling stack area in memory space—15
US 6,766,513 B2Method and system of memory management using stack walking200415
US 6,769,004 B2Method and system for incremental stack scanning200435
US 2004168078 A1Apparatus, system and method for protecting function return address—121
US 2005044292 A1Method and apparatus to retain system control when a buffer overflow attack occurs—48
US 2005138263 A1Method and apparatus to retain system control when a buffer overflow attack occurs—14
US 6,941,473 B2Memory device, stack protection system, computer system, compiler, stack protection method, storage medium and program transmission apparatus200567
US 6,996,677 B2Method and apparatus for protecting memory stacks200632
US 2006294346 A1Method and apparatus for managing a link return stack—9
US 7,165,150 B2Restricting access to memory in a multithreaded environment200725
US 7,178,010 B2Method and apparatus for correcting an internal call/return stack in a microprocessor that detects from multiple pipeline stages incorrect speculative update of the call/return stack20077
US 7,251,735 B2Buffer overflow protection and prevention20079
US 7,424,596 B2Code interpretation using stack state information20081
US 7,467,272 B2Write protection of subroutine return addresses200824
US 7,581,089 B1Method of protecting a computer stack2009144
US 7,660,985 B2Program security through stack segregation20106
US 7,669,243 B2Method and system for detection and neutralization of buffer overflow attacks201016

Non-Patent Literature (5)

  • "Buffer Overflow Protection"; Wilipedia; Downoaded Nov. 8, 2011; 6 Pgs.; http://en.wikipedia.org/wiki/Buffer-overflow-protection.
  • Avanzato; "Bypassing Stackguard and Stackshield"; Phrack Magazine; May 1, 2000; pp. 1-8; vol. Oxa, Issue Ox38; Bulba and Kil3R (lam3rz@hert.org).
  • Baratloo et al.; "Transparent Run-Time-Defense Against Stack Smashing Attacks"; Proceedings of 2000 USENIX Annual Technical Conference; Jun. 12-18, 2000; 13 Pgs.; The USENIX Association.
  • Cowan et al.; "Protecting Systems from Stack Smashing Attacks with StackGuard"; 1999; 11 Pgs.; Department of Computer Science and Engineering, Oregon Graduate Institute of Science and Technology.
  • Dildog; "The Tao of Windows Buffer Overflow"; 15 Pgs.; www.cultdeadcow.com.