Skip to main content

apply_dwarf_unwind

Function apply_dwarf_unwind 

Source
pub fn apply_dwarf_unwind(
    fde: &Fde,
    target_pc: u64,
    regs: &RegisterContext,
    reader: &dyn MemoryReader,
    is_64_bit: bool,
) -> Result<RegisterContext, UnwindError>
Expand description

Evaluates the CFA program (CIE initial instructions + FDE instructions) up to the target PC, then applies the resulting unwind row to restore registers.