From 6c77cccf53bd6b6c4fdd9ed5f069127876ce41e1 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 27 Aug 2021 12:03:00 -0700 Subject: [PATCH] Clarify and comment out in IIF --- BurnOutSharp/PackerType/IntelInstallationFramework.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/BurnOutSharp/PackerType/IntelInstallationFramework.cs b/BurnOutSharp/PackerType/IntelInstallationFramework.cs index c488968c..54bd66d2 100644 --- a/BurnOutSharp/PackerType/IntelInstallationFramework.cs +++ b/BurnOutSharp/PackerType/IntelInstallationFramework.cs @@ -47,11 +47,12 @@ namespace BurnOutSharp.PackerType public string CheckContents(string file, byte[] fileContent, bool includeDebug = false) { // Get the sections from the executable, if possible - PortableExecutable pex = PortableExecutable.Deserialize(fileContent, 0); - var sections = pex?.SectionTable; - if (sections == null) - return null; + // PortableExecutable pex = PortableExecutable.Deserialize(fileContent, 0); + // var sections = pex?.SectionTable; + // if (sections == null) + // return null; + // TODO: Implement resource finding instead of using the built in methods // Assembly information lives in the .rsrc section // I need to find out how to navigate the resources in general // as well as figure out the specific resources for both