diff --git a/BurnOutSharp/FileType/Executable.cs b/BurnOutSharp/FileType/Executable.cs index 512e2a13..510a044a 100644 --- a/BurnOutSharp/FileType/Executable.cs +++ b/BurnOutSharp/FileType/Executable.cs @@ -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)