Skip to main content

Module archive

Module archive 

Source
Expand description

Minimal NSKeyedArchiver reader.

The accessibility service sends binary property lists written by NSKeyedArchiver: a flat $objects table whose entries point at each other with UIDs. This turns one into a plain value tree, keeping unknown classes as generic objects so nothing is lost while the format is being explored.

Enums§

Ka

Constants§

DEFAULT_BUDGET
Most object expansions one archive may take. A full screen needs a few thousand; the cap stops an archive whose objects point at each other in many ways from being unfolded forever.

Functions§

decode
Decode a keyed archive and return its root object.
decode_with_budget
Like decode, with an explicit cap. Also returns how many object expansions were used.
looks_like_archive
True when bytes look like a keyed archive (a nested layer).