2022-03-14 10:43:08 -07:00
|
|
|
|
using BurnOutSharp.ExecutableType.Microsoft.PE;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BurnOutSharp
|
|
|
|
|
|
{
|
2022-05-01 17:17:15 -07:00
|
|
|
|
internal interface IPortableExecutableCheck
|
2022-03-14 10:43:08 -07:00
|
|
|
|
{
|
|
|
|
|
|
/// <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>
|
2022-05-01 17:17:15 -07:00
|
|
|
|
/// <param name="includeDebug">True to include debug data, false otherwise</param>
|
2022-03-14 10:43:08 -07:00
|
|
|
|
/// <returns>String containing any protections found in the file</returns>
|
2022-05-01 17:17:15 -07:00
|
|
|
|
string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug);
|
2022-03-14 10:43:08 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|