26 stable releases (3 major)
new 12.1.5 | May 16, 2023 |
---|---|
12.1.2 | Mar 30, 2023 |
11.1.0 | Feb 8, 2023 |
10.2.1 | Dec 5, 2022 |
9.0.0 | Jun 21, 2022 |
#300 in Parser implementations
1,872 downloads per month
Used in 9 crates
(via symbolic)
750KB
13K
SLoC
Handling of Call Frame Information (stack frame info).
The root type exposed by this crate is CfiCache
, which offers a high-level API to extract
CFI from object files and serialize a format that the Breakpad processor can understand.
Background
Call Frame Information (CFI) is used by the processor to improve the quality of stacktraces during stackwalking. When the executable was compiled with frame pointer omission, the call stack does not contain sufficient information to resolve frames on its own. CFI contains programs that can calculate the base address of a frame based on register values of the current frame.
Without CFI, the stackwalker needs to scan the stack memory for values that look like valid base addresses. This frequently yields false-positives.
Dependencies
~1–1.6MB
~35K SLoC