mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
SharpCompress doesn't support ARM64 and RISCV filters for 7zip or XZ #621
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @klimatr26 on GitHub (Apr 5, 2024).
Hello.
7-zip added an ARM64 filter for ARM64 executables in version 23.01. It also added a RISCV filter in version 24.03.

Currently, sharpcompress cannot decompress files that use those filters.
I was able to add support for those filters in 7-zip.
I'm not too familiar with XZ, but it uses liblzma, which incorporated those new filters. However, the code that sharpcompress uses for XZ filters seems to be based on the LZMA SDK.
Have a good day.
@adamhathcock commented on GitHub (Apr 8, 2024):
This was merged. Thanks.
XZ is based on LZMA but I haven't refreshed myself to what is needed for XZ. Will look more.