Generating stack traces of call stacks that lack frame pointers
Abstract
A processing device executing an application analyzer analyzes a call stack having a plurality of stack frames to identify potential return addresses for the plurality of stack frames. The processing device records a value of each of the potential return addresses and records a location on the call stack for each of the potential return addresses. The processing device then determines which of the potential return addresses are actual return addresses based on debugging information and the recorded locations of the potential return addresses. The processing device generates a stack trace based on the actual return addresses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: analyzing, by a processing device executing an application analyzer, a call stack of an application, the call stack having a plurality of stack frames, to identify potential return addresses for the plurality of stack frames, wherein the potential return addresses are pointers to an address within a range of addresses for an executable mapping of the application; recording a value of each of the potential return addresses; recording a location for each of the potential return addresses, the location being a location on the call stack; determining which of the potential ret
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (1)
- Copperman, Max, "Producing an Accurate Call-Stack Trace in the Occasional Absence of Frame Pointers", Mar. 1992, 17 pages, Board of Studies in Computer and Information Sciences, University of California at Santa Cruz, Santa Cruz, California.