Create LE during scan as well

This commit is contained in:
Matt Nadareski
2023-01-17 20:22:25 -08:00
parent 6293895611
commit cb6440662b

View File

@@ -53,12 +53,14 @@ namespace BurnOutSharp.FileType
}
}
// Create PortableExecutable and NewExecutable objects for use in the checks
// Create Executable objects for use in the checks
stream.Seek(0, SeekOrigin.Begin);
PortableExecutable pex = PortableExecutable.Create(stream);
LinearExecutable lex = LinearExecutable.Create(stream);
stream.Seek(0, SeekOrigin.Begin);
NewExecutable nex = NewExecutable.Create(stream);
stream.Seek(0, SeekOrigin.Begin);
PortableExecutable pex = PortableExecutable.Create(stream);
stream.Seek(0, SeekOrigin.Begin);
// Iterate through all generic content checks
if (fileContent != null)