using BurnOutSharp.ExecutableType.Microsoft.NE; using BurnOutSharp.ExecutableType.Microsoft.PE; namespace BurnOutSharp { // TODO: This should either include an override that takes a Stream instead of the byte[] // TODO: This should be retired in lieu of the I*ContentCheck interfaces internal interface IContentCheck { /// /// Check a path for protections based on file contents /// /// PortableExecutable representing the read-in file /// File to check for protection indicators /// Byte array representing the file contents /// True to include debug data, false otherwise /// String containing any protections found in the file /// This still includes PE and NE because this is primarily used for debug testing string CheckContents(string file, byte[] fileContent, bool includeDebug, PortableExecutable pex, NewExecutable nex); } }