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: 23 · Forward citations: 0.
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; 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 function having the string operation, wherein the stack protection unit is further configured to exclude stack protection in the code region without the string operation based u
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 (23)
Non-Patent Literature (5)
- Frykholm, "Countermeasures Against Buffer Overflow Attacks," http://www.rsa.com/rsalabs/node.asp?id=201, Nov. 30, 2000, pp. 1-9.
- Gerardo Richarte, Four different tricks to bypass StackShield and StackGuard protection, 2002, pp. 4-9.
- Huynh, "Performance Overhead of Buffer Overflow Prevention Tools," 2005, pp. 1-5.
- John Regehr, Eliminating stack overflow by abstract interpretation, 2003, pp. 1-16.
- Kyung-suk Lhee, Buffer Overflow and Format String Overflow Vulnerabilities, 2002, pp. 1-16.