Patents
US 9,734,039 B2#45091247 Most CitedActiveUnited States (USPTO)Utility

Stack overflow protection device, method, and related compiler and computing device

2Forward Citations (#45091247 Global)
0.2/yrCitation Velocity (#31896037 Global)
0.88Citation PageRank (#49245324 Global)
46Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present disclosure relates to a stack overflow protection device and a stack protection method. According to the present disclosure, a stack overflow protection device is provided, which includes a dividing unit configured to divide at least one function in the input codes into a code region with a string operation and a code region without a string operation. The device also includes a stack protection unit configured to set up stack protection in the code region with a string operation. The present disclosure further provides a stack protection method.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for providing input source codes with stack overflow protection, comprising: dividing, by a computing device, at time of compilation, at least one function in the input source codes into a code region with a string operation and a code region without a string operation; dividing said code region with a string operation into a high frequency code region and a low frequency code region based on execution frequencies of the code regions; and setting up, the computing device, stack protection in the code region with the string operation based upon the code region of the at least one funct

Technical Overview & Description

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

References Cited — Backward Prior Art (46)

PatentTitleYearCitations
US 5,836,014 AMethod of constructing a constant-folding mechanism in a multilanguage optimizing compiler1998272
US 5,909,580 ADevelopment system and methods with direct compiler support for detecting invalid use and management of resources and memory at runtime199995
US 2001013094 A1Memory device, stack protection system, computer system, compiler, stack protection method, storage medium and program transmission apparatus—53
US 6,301,699 B1Method for detecting buffer overflow for computer security2001137
US 6,560,774 B1Verifier to check intermediate language2003213
US 2004015901 A1Compiling method and storage medium therefor—21
US 2004073897 A1Overflow sensitive arithmetic instruction optimization using chaining—3
US 2004088686 A1Function execution method, function execution apparatus, computer program and recorded medium—8
US 2004103252 A1Method and apparatus for protecting memory stacks—81
US 2004143824 A1Method and apparatus for detecting an overflow condition in a kernel stack during operating system development—17
US 2004163077 A1Apparatus and method for dynamic instrumenting of code to minimize system perturbation—182
US 2004168078 A1Apparatus, system and method for protecting function return address—121
US 2006026574 A1Method and apparatus for code optimization—12
US 2006095895 A1Method and apparatus for inserting code—75
US 2006117298 A1Stacked file systems and methods—10
US 2006130021 A1Automated safe secure techniques for eliminating undefined behavior in computer software—93
US 2006161739 A1Write protection of subroutine return addresses—74
US 7,086,088 B2Preventing stack buffer overflow attacks200638
US 7,152,229 B2Workflow code generator2006115
US 2007169085 A1Stack-based problem identification for a software component—22
US 7,263,693 B2Combined verification and compilation of bytecode20077
US 2007285271 A1Verifiable integrity guarantees for machine code programs—52
US 2008028379 A1Using a virtual stack for fast and composable stack cutting—21
CN 101,241,532 ASource code facing buffer overflow detection method based on inequalities solving—30
US 2008276063 A1Dynamic stack allocating method in multi-threaded operating systems—8
US 2009089764 A1Call stack parsing in multiple runtime environments—48
US 2009133033 A1Advancing and rewinding a replayed program execution—92
US 2009144709 A1Reducing stack space consumption via head-call optimization—12

Non-Patent Literature (5)

  • Chinese Office Action received in Chinese Counterpart Application No. 201210041865.3, dated Sep. 1, 2015, pp. 1-6; no translation available for Examiners reference only.
  • Frykholm, "Countermeasures Against Buffer Overflow Attacks," http://www.rsa.com/rsalabs/node.asp?id=201, Nov. 30, 2000, pp. 1-9.
  • Gerardo Richart, "Four Different Tricks to Bypass StackShield and StackGuard Protection", Core Security Technologies, 2002, pp. 4-9.
  • Hilmi Ozdoganoglu, SmashGuard: A Hardware Solution to Prevent Security Attacks on the Function Return Address, 2006, pp. 1-15.
  • Huynh, "Performance Overhead of Buffer Overflow Prevention Tools," 21st Computer Science Seminar SA3-T4-1, 2005, pp. 1-5.