[PR #321] [MERGED] [WIP] Add 7-Zip SFX extraction #487

Closed
opened 2026-01-29 21:08:34 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SabreTools/BinaryObjectScanner/pull/321
Author: @TheRogueArchivist
Created: 9/25/2024
Status: Merged
Merged: 9/26/2024
Merged by: @mnadareski

Base: masterHead: 7zip-SFX


📝 Commits (6)

  • 9d20820 Add 7-Zip SFX extraction
  • 1a3d933 Merge branch 'SabreTools:master' into 7zip-SFX
  • 055bf61 Clean up 7z SFX extraction method
  • 116f0ee Remove unneeded import
  • e66f7f3 Use file instead of stream for 7z SFX
  • e1283d6 Update 7z SFX to be more consistent with other packers

📊 Changes

1 file changed (+57 additions, -1 deletions)

View changed files

📝 BinaryObjectScanner/Packer/SevenZipSFX.cs (+57 -1)

📄 Description

Newest SharpCompress added support for extracting 7-Zip SFX files, so we can add support for them here too.

Relies on #320, or SharpCompress being updated to 0.38.0 otherwise. There appears to be a bug present where files in a folder inside of 7z archives aren't extracted, but this occurs with normal 7z archives in latest release as well and will be reported separately. So, this has been marked as "[WIP]" in-case changes need to be made to the extraction code in SFX as well. Alternatively, this can be merged and then the bug can be dealt with at a later time.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SabreTools/BinaryObjectScanner/pull/321 **Author:** [@TheRogueArchivist](https://github.com/TheRogueArchivist) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/26/2024 **Merged by:** [@mnadareski](https://github.com/mnadareski) **Base:** `master` ← **Head:** `7zip-SFX` --- ### 📝 Commits (6) - [`9d20820`](https://github.com/SabreTools/BinaryObjectScanner/commit/9d20820cf4258a3854ba77a5a142d364efeeab6b) Add 7-Zip SFX extraction - [`1a3d933`](https://github.com/SabreTools/BinaryObjectScanner/commit/1a3d933564b526effcc42c027e67aa3444f3ce5c) Merge branch 'SabreTools:master' into 7zip-SFX - [`055bf61`](https://github.com/SabreTools/BinaryObjectScanner/commit/055bf61438b82e31f6ab7cc41d76f2e51903f542) Clean up 7z SFX extraction method - [`116f0ee`](https://github.com/SabreTools/BinaryObjectScanner/commit/116f0eec39742cbb6f0b18bccf5af83452ad94aa) Remove unneeded import - [`e66f7f3`](https://github.com/SabreTools/BinaryObjectScanner/commit/e66f7f3a088b559add6dbd6fa76f74e78fbfc3d8) Use file instead of stream for 7z SFX - [`e1283d6`](https://github.com/SabreTools/BinaryObjectScanner/commit/e1283d6c16fe3f3ebc9120018dec2f6dd8b71c64) Update 7z SFX to be more consistent with other packers ### 📊 Changes **1 file changed** (+57 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `BinaryObjectScanner/Packer/SevenZipSFX.cs` (+57 -1) </details> ### 📄 Description Newest SharpCompress added support for extracting 7-Zip SFX files, so we can add support for them here too. Relies on #320, or SharpCompress being updated to 0.38.0 otherwise. There appears to be a bug present where files in a folder inside of 7z archives aren't extracted, but this occurs with normal 7z archives in latest release as well and will be reported separately. So, this has been marked as "[WIP]" in-case changes need to be made to the extraction code in SFX as well. Alternatively, this can be merged and then the bug can be dealt with at a later time. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 21:08:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/BinaryObjectScanner#487