Expand description
DWARF Call Frame Information (.eh_frame / .debug_frame) parser and evaluator.
Parses CIE/FDE entries, executes DW_CFA_* state machine instructions, and applies the resulting register rules to produce an unwound register context.
Structs§
- Cie
- Common Information Entry.
- CieAugmentation
- Parsed CIE augmentation data.
- Fde
- Frame Description Entry.
Enums§
- CfaRule
- How to compute the CFA (Canonical Frame Address).
- Register
Rule - How to restore a single register.
Constants§
- DW_
EH_ PE_ ABSPTR - DW_
EH_ PE_ DATAREL - DW_
EH_ PE_ INDIRECT - DW_
EH_ PE_ OMIT - DW_
EH_ PE_ PCREL - DW_
EH_ PE_ SDAT A2 - DW_
EH_ PE_ SDAT A4 - DW_
EH_ PE_ SDAT A8 - DW_
EH_ PE_ SLEB128 - DW_
EH_ PE_ UDAT A2 - DW_
EH_ PE_ UDAT A4 - DW_
EH_ PE_ UDAT A8 - DW_
EH_ PE_ ULEB128
Functions§
- apply_
dwarf_ unwind - Evaluates the CFA program (CIE initial instructions + FDE instructions) up to the target PC, then applies the resulting unwind row to restore registers.
- find_
fde - Finds the FDE containing the given PC in the .eh_frame section.