Stack overflow protection device, method, and related compiler and computing device
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)
- 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 ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (46)
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.