[PR #52] [MERGED] Concurrent protection scans per file #256

Open
opened 2026-01-29 21:07:28 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SabreTools/BinaryObjectScanner/pull/52
Author: @mnadareski
Created: 7/18/2021
Status: Merged
Merged: 7/18/2021
Merged by: @mnadareski

Base: masterHead: concurrent


📝 Commits (2)

  • 9b226e8 Move to ConcurrentDictionary
  • d2978bc Convert to ConcurrentQueue

📊 Changes

72 files changed (+303 additions, -199 deletions)

View changed files

📝 BurnOutSharp/FileType/BFPK.cs (+3 -3)
📝 BurnOutSharp/FileType/BZip2.cs (+3 -2)
📝 BurnOutSharp/FileType/Executable.cs (+7 -5)
📝 BurnOutSharp/FileType/GZIP.cs (+3 -2)
📝 BurnOutSharp/FileType/InstallShieldCAB.cs (+3 -2)
📝 BurnOutSharp/FileType/MPQ.cs (+3 -2)
📝 BurnOutSharp/FileType/MSI.cs (+3 -2)
📝 BurnOutSharp/FileType/MicrosoftCAB.cs (+3 -2)
📝 BurnOutSharp/FileType/PKZIP.cs (+3 -2)
📝 BurnOutSharp/FileType/RAR.cs (+3 -2)
📝 BurnOutSharp/FileType/SevenZip.cs (+3 -2)
📝 BurnOutSharp/FileType/TapeArchive.cs (+3 -2)
📝 BurnOutSharp/FileType/Textfile.cs (+4 -3)
📝 BurnOutSharp/FileType/Valve.cs (+3 -2)
📝 BurnOutSharp/FileType/XZ.cs (+3 -2)
📝 BurnOutSharp/IPathCheck.cs (+3 -2)
📝 BurnOutSharp/IScannable.cs (+3 -3)
📝 BurnOutSharp/Matching/MatchUtil.cs (+14 -13)
📝 BurnOutSharp/PackerType/CExe.cs (+3 -2)
📝 BurnOutSharp/PackerType/InnoSetup.cs (+3 -2)

...and 52 more files

📄 Description

This PR allows for multiple content and protection scans to be run per file without the risk of losing data. This fixes the slowness regression introduced by the last commit.

Fixes #52


🔄 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/52 **Author:** [@mnadareski](https://github.com/mnadareski) **Created:** 7/18/2021 **Status:** ✅ Merged **Merged:** 7/18/2021 **Merged by:** [@mnadareski](https://github.com/mnadareski) **Base:** `master` ← **Head:** `concurrent` --- ### 📝 Commits (2) - [`9b226e8`](https://github.com/SabreTools/BinaryObjectScanner/commit/9b226e8231560180e9ef2315baed2f7553a86e4b) Move to ConcurrentDictionary - [`d2978bc`](https://github.com/SabreTools/BinaryObjectScanner/commit/d2978bc653b91c93269c4583ddcf35af54729386) Convert to ConcurrentQueue ### 📊 Changes **72 files changed** (+303 additions, -199 deletions) <details> <summary>View changed files</summary> 📝 `BurnOutSharp/FileType/BFPK.cs` (+3 -3) 📝 `BurnOutSharp/FileType/BZip2.cs` (+3 -2) 📝 `BurnOutSharp/FileType/Executable.cs` (+7 -5) 📝 `BurnOutSharp/FileType/GZIP.cs` (+3 -2) 📝 `BurnOutSharp/FileType/InstallShieldCAB.cs` (+3 -2) 📝 `BurnOutSharp/FileType/MPQ.cs` (+3 -2) 📝 `BurnOutSharp/FileType/MSI.cs` (+3 -2) 📝 `BurnOutSharp/FileType/MicrosoftCAB.cs` (+3 -2) 📝 `BurnOutSharp/FileType/PKZIP.cs` (+3 -2) 📝 `BurnOutSharp/FileType/RAR.cs` (+3 -2) 📝 `BurnOutSharp/FileType/SevenZip.cs` (+3 -2) 📝 `BurnOutSharp/FileType/TapeArchive.cs` (+3 -2) 📝 `BurnOutSharp/FileType/Textfile.cs` (+4 -3) 📝 `BurnOutSharp/FileType/Valve.cs` (+3 -2) 📝 `BurnOutSharp/FileType/XZ.cs` (+3 -2) 📝 `BurnOutSharp/IPathCheck.cs` (+3 -2) 📝 `BurnOutSharp/IScannable.cs` (+3 -3) 📝 `BurnOutSharp/Matching/MatchUtil.cs` (+14 -13) 📝 `BurnOutSharp/PackerType/CExe.cs` (+3 -2) 📝 `BurnOutSharp/PackerType/InnoSetup.cs` (+3 -2) _...and 52 more files_ </details> ### 📄 Description This PR allows for multiple content and protection scans to be run per file without the risk of losing data. This fixes the slowness regression introduced by the last commit. Fixes #52 --- <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:07:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/BinaryObjectScanner#256