Add unused MS-DOS executable check interface

This commit is contained in:
Matt Nadareski
2023-03-15 16:12:12 -04:00
parent 1e5bb7df64
commit 6b8596466b
3 changed files with 84 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
using BinaryObjectScanner.Wrappers;
namespace BinaryObjectScanner.Interfaces
{
/// <summary>
/// Check a MS-DOS Executable (MZ) for protection
/// </summary>
public interface IMSDOSExecutableCheck
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="mz">MSDOS 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>
string CheckMSDOSExecutable(string file, MSDOS mz, bool includeDebug);
}
}