Files
BinaryObjectScanner/BinaryObjectScanner/Interfaces/IExecutableCheck.cs
2026-01-25 17:27:42 -05:00

20 lines
762 B
C#

using SabreTools.Serialization.Wrappers;
namespace BinaryObjectScanner.Interfaces
{
/// <summary>
/// Check an executable for protection
/// </summary>
public interface IExecutableCheck<T> where T : WrapperBase
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="exe">Executable representing the read-in file</param>
/// <param name="includeDebug">True to include debug data, false otherwise</param>
/// <returns>String containing any protections found in the file</returns>
public string? CheckExecutable(string file, T exe, bool includeDebug);
}
}