mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-14 13:46:03 +00:00
This also includes some more path matcher conversions that I couldn't reasonably split out
16 lines
741 B
C#
16 lines
741 B
C#
namespace BurnOutSharp
|
|
{
|
|
internal interface IContentCheck
|
|
{
|
|
/// <summary>
|
|
/// Check a path for protections based on file contents
|
|
/// </summary>
|
|
/// <param name="file">File to check for protection indicators</param>
|
|
/// <param name="fileContent">Byte array representing the file contents</param>
|
|
/// <param name="includePosition">True to include positional data, false otherwise</param>
|
|
/// <returns>String containing any protections found in the file</returns>
|
|
/// TODO: This should be replaced with a "GenerateMatchers" that produces a list of matchers to be run instead
|
|
string CheckContents(string file, byte[] fileContent, bool includePosition);
|
|
}
|
|
}
|