Open wcampbell0x2a opened 1 year ago
This filter is not yet implemented. For the moment, only the LZMA2 filter is implemented within the XZ container format: https://github.com/gendx/lzma-rs/blob/v0.3.0/src/decode/xz.rs#L173-L183.
Looking at the tukaani project, this appears to be a filter specific to ARM: https://github.com/tukaani-project/xz/blob/v5.4/src/liblzma/api/lzma/bcj.h#L41.
Trying to move my library to using this rust implementation, but running into some issues with decompressing some images. I added a print of the bytes for your help if you wish to fix this issue. It might be something non-standard with these pieces of firmware.
issue: https://github.com/wcampbell0x2a/backhand/issues/95 branch: https://github.com/wcampbell0x2a/backhand/tree/use-lzma-rs