Patents
US 6,892,379 B2#2713856 Most CitedExpiredUnited States (USPTO)Utility

Methods and apparatus for use in aiding stack unwinding

27Forward Citations (#2713856 Global)
1.3/yrCitation Velocity (#4528092 Global)
3.54Citation PageRank (#5802555 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In a compiler, a method of generating assembly code for stack unwinding is disclosed. One or more source code lines are obtained. Assembly code for the one or more source code lines is then generated. The assembly code includes one or more stack unwind assembler having one or more associated stack unwind sub directives. Each of the stack unwind assembler directives is adapted for indicating to an assembler that one or more encoded data sections containing stack information to be used for stack unwinding is to be generated in an object file from the one or more associated stack unwind sub directives.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a compiler, a method of generating assembly code to aid in stack unwinding of a memory stack, the method comprising: obtaining at least one source code line; and generating assembly code for the at least one more source code line, the assembly code including at least one stack unwind assembler directive, each of the stack unwind assembler directives having at least one associated stack unwind sub directive, each stack unwind assembler directive being adapted for indicating to an assembler that at least one encoded data section containing information to be used during stack unwinding is to b

Technical Overview & Description

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

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 4,951,195 ACondition code graph analysis for simulating a CPU processor1990104
US 5,005,119 AUser interactive control of computer programs and corresponding versions of input/output data flow1991139
US 5,175,828 AMethod and apparatus for dynamically linking subprogram to main program using tabled procedure name comparison1992105
US 5,628,016 ASystems and methods and implementing exception handling using exception registration records stored in stack memory1997260
US 6,014,517 AAutomatic creation of C to assembler interface200022
US 6,014,515 AEnhanced stack unwind facility200030
US 6,106,574 AComputer-implemented object-oriented method for relating objects in a compiler to locations in the source program and to inlined call histories200032
US 6,112,312 AMethod for generating functional tests for a microprocessor having several operating modes and features2000113
US 6,219,828 B1Method for using two copies of open firmware for self debug capability200152
US 6,243,668 B1Instruction set interpreter which uses a register stack to efficiently map an application register state200139
US 6,249,906 B1Adaptive method and system to minimize the effect of long table walks200128
US 6,289,446 B1Exception handling utilizing call instruction with context information200174
US 6,293,712 B1Method and apparatus for constructing a stack unwind data structure200152
US 6,314,564 B1Method for resolving arbitrarily complex expressions at link-time200118
US 6,470,493 B1Computer method and apparatus for safe instrumentation of reverse executable program modules200230

Non-Patent Literature (5)

  • Champlain et al., A reflective architecture for cross-assembler, 1999, IEEE, p. 346-348.*
  • Haenni, A structure macro assembler for the event handler, Oct. 1989, IEEE, vol. 36, p. 1685-1689.*
  • Intel, "IA-64 Software Conventions and Runtime Architecture Guide," Doc. No. 245358-002, Sep. 2000.
  • Intel, "Intel(R) Itamium(TM) Architecture Assembly Language Reference Guide," Doc. No. 248801-003 http://developer.intel.com, Oct. 2000.
  • Internet, Unwinding The Stack, http://c2.com/cgi/wiki?UnwindingTheStack.*