Call stack parsing in multiple runtime environments
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)
- 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
- 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 ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (20)
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 .