Expand description
Pure-Rust LZBITMAP decompression, with no dependencies and no unsafe.
LZBITMAP is the compression format Apple uses for APFS transparent
compression (decmpfs types 13 and 14) since macOS 12, including the
system’s dyld_shared_cache.
decompress: decodes a raw LZBITMAP buffer (magicZBM\x09).decmpfs: decodes whole files from theircom.apple.decmpfsxattr and resource fork.
The decompressor is a port of libzbitmap by Corellium (MIT).
Modules§
- decmpfs
- APFS/HFS+ transparent compression (decmpfs), LZBITMAP types only.
Enums§
- Error
- Errors returned by
decompress.
Functions§
- decompress
- Decompresses an LZBITMAP buffer, appending the result to
out.