Files
BinaryObjectScanner/BurnOutSharp/Interfaces/IPortableExecutableCheck.cs
2022-05-01 21:06:52 -07:00

20 lines
788 B
C#

using BurnOutSharp.ExecutableType.Microsoft.PE;
namespace BurnOutSharp.Interfaces
{
/// <summary>
/// Check a Portable Executable (PE) for protection
/// </summary>
internal interface IPortableExecutableCheck
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="pex">PortableExecutable 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 CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug);
}
}