From cb6440662b7db7742b40336a5643e1436119f370 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 17 Jan 2023 20:22:25 -0800 Subject: [PATCH] Create LE during scan as well --- BurnOutSharp/FileType/Executable.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)