Skip to content

Support lzraven compression / pbzm payload files #1247

Description

@Wack0

Is your feature request related to a problem? Please describe.

macOS 27.0 beta 1's OTA update files use payload files with the magic pbzm, reversing UpdateBrainLibrary.dylib shows this is using lzraven compression, which according to documentation was added in this version of the OS: https://developer.apple.com/documentation/compression/compression_lzraven

Describe the solution you'd like

  • Reverse and reimplement the lzraven compression scheme
  • Support this compression scheme when extracting payload files.

Describe alternatives you've considered

  • Reversing lzraven myself (reversing heavily vectorised compression code is not my idea of a fun time)
  • Emulating the decompression code under unicorn
  • Running the decompressor in an OSX vm

Search

  • I did search for other open and closed issues before opening this

AI assistance

none

Code of Conduct

  • I agree to follow this project's Code of Conduct

AI Policy

  • I understand and agree to follow this project's AI Usage Policy

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions