Files
BinaryObjectScanner/BurnOutSharp/IPEContentCheck.cs

18 lines
761 B
C#
Raw Normal View History

2022-03-14 10:43:08 -07:00
using BurnOutSharp.ExecutableType.Microsoft.PE;
namespace BurnOutSharp
{
// TODO: This should either include an override that takes a Stream instead of the byte[]
internal interface IPEContentCheck
{
/// <summary>
/// Check a path for protections based on file contents
/// </summary>
/// <param name="file">File to check for protection indicators</param>
/// <param name="includeDebug">True to include debug data, false otherwise</param>
/// <param name="pex">PortableExecutable representing the read-in file</param>
/// <returns>String containing any protections found in the file</returns>
2022-03-14 22:51:17 -07:00
string CheckPEContents(string file, PortableExecutable pex, bool includeDebug);
2022-03-14 10:43:08 -07:00
}
}