Use SourceArray for PE checks

This commit is contained in:
Matt Nadareski
2022-03-14 22:49:35 -07:00
parent 3820546c07
commit a7e9164f4f
54 changed files with 78 additions and 77 deletions

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType
public class MediaMaxCD3 : IPEContentCheck, IPathCheck
{
/// <inheritdoc/>
public string CheckPEContents(string file, byte[] fileContent, bool includeDebug, PortableExecutable pex)
public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;