Skip to main content

Module compact_unwind

Module compact_unwind 

Source
Expand description

Apple Compact Unwind (__unwind_info) parser and register restoration.

Parses the __unwind_info section to find compact unwind encodings for a given PC, decodes the encoding, and applies it to restore registers.

Enums§

CompactEntry
Decoded compact unwind entry.

Functions§

apply_entry
Applies a compact unwind entry to restore the previous register context.
decode_arm64
decode_encoding
Decodes a compact unwind encoding into a CompactEntry for the given CPU type.
decode_x86_64
lookup_encoding
Looks up the compact unwind encoding for a given PC.