SharpCompress doesn't support ARM64 and RISCV filters for 7zip or XZ #621

Closed
opened 2026-01-29 22:14:46 +00:00 by claunia · 1 comment
Owner

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.
imagen

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.

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. ![imagen](https://github.com/adamhathcock/sharpcompress/assets/154111881/74984522-e0a9-42a7-afe0-8ab494879ca1) 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.
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#621