Patents
US 8,291,381 B2#9682175 Most CitedActiveUnited States (USPTO)Utility

Call stack parsing in multiple runtime environments

11Forward Citations (#9682175 Global)
0.8/yrCitation Velocity (#9515430 Global)
1.56Citation PageRank (#21524662 Global)
20Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Where a process in a computing system comprises mixed code, having different sections of code managed by different runtimes, the call stack used to coordinate function invocations may comprise call stack frames created according to multiple calling conventions. In order to analyze this call stack in a stack walk or unwinding, a debugger may be configured to request the runtimes managing the process to claim a particular call stack frame, and to request the runtime that claims it to parse the contents of the frame, or to utilize call stack analysis techniques if the call stack frame was created by unmanaged code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of analyzing a call stack available to a runtime and comprising a first call stack frame, respective runtime comprising a call stack frame map identifying memory addresses of call stack frames created by the runtime, and the method comprising: requesting the runtime to claim the first call stack frame; upon the runtime claiming the first call stack frame by locating the memory address of the first call stack frame in the call stack frame map, analyzing the first call stack frame with the claiming runtime; and upon all runtimes declining to claim the first call stack frame, analyzing t

  2. Claim 2Depends on #1

    The method of claim 1 , comprising: after analyzing the first call stack frame, identifying a second call stac

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 6,009,258 AMethods and devices for unwinding stack of frozen program and for restarting the program from unwound state199960
US 6,293,712 B1Method and apparatus for constructing a stack unwind data structure200152
US 6,513,155 B1Method and system for merging event-based data and sampled data into postprocessed trace output2003127
US 2003204838 A1Debugging platform-independent software applications and related code components—85
US 6,662,358 B1Minimizing profiling-related perturbation using periodic contextual information2003108
US 2004128658 A1Exception handling with stack trace cache—61
US 6,857,120 B1Method for characterizing program execution by periodic call stack inspection2005186
US 6,892,379 B2Methods and apparatus for use in aiding stack unwinding200527
US 6,904,594 B1Method and system for apportioning changes in metric variables in an symmetric multiprocessor (SMP) environment200575
US 6,934,939 B2Method for unwinding a program call stack200511
US 2005273757 A1Methods, systems, and computer program products for summarizing operational behavior of a computer program—61
US 2006212844 A1Method and apparatus for hybrid stack walking—10
US 7,178,132 B2Forward walking through binary code to determine offsets for stack walking200726
US 2007089088 A1Dynamically determining a buffer-stack overrun—25
US 7,401,323 B2Just-My-Code debugging200842
US 2008209406 A1History-based call stack construction—23
US 2008270990 A1Unwinding unwindable code—16
US 7,478,366 B2Debugger and method for debugging computer programs across multiple programming languages200922
US 7,743,423 B2Security requirement determination201026

Non-Patent Literature (5)

  • "International Search Report", Filed date Aug. 26, 2008, Application No. PCT/US2008/077947, pp. 1-11. (MS#321264.02).
  • Anthony Savidis, "Supporting Cross-Language Exception Handling When Extending Application with Embedded Languages", 2011 Springer-Verlag Heidelberg, LNCS 6968, pp. 93-99 .
  • Anthony Savidis, "Supporting Cross-Language Exception Handling When Extending Application with Embedded Languages", 2011 Springer-Verlag Heidelberg, LNCS 6968, pp. 93-99 <http://www.springerlink.com/content/d73406021583k45I/>.
  • Bernet, et al., "Incremental Call-Path Profiling", pp. 1-9.
  • Cierniak et al., "Open Runtime Platform: Flexibility with Performance using Interfaces", 2002 ACM, JGI'02, pp. 156-164 .