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§
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
byteslook like a keyed archive (a nested layer).