Patents
US 7,181,733 B2#8927304 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for detecting an overflow condition in a kernel stack during operating system development

11Forward Citations (#8927304 Global)
0.6/yrCitation Velocity (#13618241 Global)
3.24Citation PageRank (#6700268 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system with a mechanism that facilitates determining whether a kernel stack will overflow during development of an operating system. During execution of the operating system, the operating system executes a procedure. Upon entering the procedure, after the current stack pointer has been automatically adjusted to provide stack space for the procedure, the system retrieves the current stack pointer for the process, and determines the stack limit for the process. The system then compares the current stack pointer to the stack limit to determine if the process will cause, or is likely to cause a stack overflow. If a stack overflow will occur, or is likely to occur, the system indicates the existence of a stack overflow condition.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for proactively determining whether a kernel stack will overflow during development of an operating system, comprising: executing a procedure call in an operating system; upon entering the procedure, retrieving a current stack pointer for a process associated with the procedure, after the current stack pointer has been automatically adjusted to provide stack space for the procedure, determining a stack limit for the process, comparing the current stack pointer to the stack limit to determine if the process will cause a stack overflow, and if the current process will cause a stack over

Technical Overview & Description

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

Non-Patent Literature (1)

  • John Regehr et al., "Eliminating Stack Overflow by Abstract Interpretation", Nov. 2005, ACM Press, vol. 4, No. 4, pp. 751-778.