[Enhancement] Streams #5

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

Originally created by @mnadareski on GitHub (Oct 1, 2019).

BurnOutSharp should be able to support checking file protection for streams as well. In order to support this, the following changes need to be made:

  • Refactor all code that relies on file contents to work without requiring a physical file
  • Refactor all code that relies on file contents to work on byte arrays (or Span<byte>) to enable the same functionality as the existing file content scans
  • Ensure that most of the places that the file name checks are done are not required due to how they are used (mostly re-opening the file to read bytes)
  • Allow for reading of streams as sectors in order to catch special protections
  • Add support, where possible, for more than just executable checks on streams
Originally created by @mnadareski on GitHub (Oct 1, 2019). BurnOutSharp should be able to support checking file protection for streams as well. In order to support this, the following changes need to be made: - Refactor all code that relies on file contents to work without requiring a physical file - Refactor all code that relies on file contents to work on byte arrays (or `Span<byte>`) to enable the same functionality as the existing file content scans - Ensure that most of the places that the file name checks are done are not required due to how they are used (mostly re-opening the file to read bytes) - Allow for reading of streams as sectors in order to catch special protections - Add support, where possible, for more than just executable checks on streams
Author
Owner

@mnadareski commented on GitHub (Mar 16, 2022):

Capped off by ec8c395ffa

@mnadareski commented on GitHub (Mar 16, 2022): Capped off by https://github.com/mnadareski/BurnOutSharp/commit/ec8c395ffab2813631d31afd86fdc3e2a063771c
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/BinaryObjectScanner#5