From d18e65ca6c880e7dc73938999a3d87a19cecdba8 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 10 Nov 2022 12:57:41 -0800 Subject: [PATCH] Add PE debug directory skeleton, notes --- .../{DebugDirectory.cs => DebugDirectoryEntry.cs} | 2 +- BurnOutSharp.Models/PortableExecutable/Executable.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename BurnOutSharp.Models/PortableExecutable/{DebugDirectory.cs => DebugDirectoryEntry.cs} (98%) diff --git a/BurnOutSharp.Models/PortableExecutable/DebugDirectory.cs b/BurnOutSharp.Models/PortableExecutable/DebugDirectoryEntry.cs similarity index 98% rename from BurnOutSharp.Models/PortableExecutable/DebugDirectory.cs rename to BurnOutSharp.Models/PortableExecutable/DebugDirectoryEntry.cs index d247c9de..167acd03 100644 --- a/BurnOutSharp.Models/PortableExecutable/DebugDirectory.cs +++ b/BurnOutSharp.Models/PortableExecutable/DebugDirectoryEntry.cs @@ -20,7 +20,7 @@ namespace BurnOutSharp.Models.PortableExecutable /// /// [StructLayout(LayoutKind.Sequential)] - public class DebugDirectory + public class DebugDirectoryEntry { /// /// Reserved, must be zero. diff --git a/BurnOutSharp.Models/PortableExecutable/Executable.cs b/BurnOutSharp.Models/PortableExecutable/Executable.cs index ca83af8a..c1e4ea54 100644 --- a/BurnOutSharp.Models/PortableExecutable/Executable.cs +++ b/BurnOutSharp.Models/PortableExecutable/Executable.cs @@ -102,7 +102,8 @@ namespace BurnOutSharp.Models.PortableExecutable // - Delay Bound Import Address Table // - Delay Unload Import Address Table // - The .debug Section - // - .debug$F (Object Only) / IMAGE_DEBUG_TYPE_FPO + // - [Debug Directory Entry] + // - .debug$F (Object Only) / IMAGE_DEBUG_TYPE_FPO // - The .drectve Section (Object Only) // - The .pdata Section [Multiple formats per entry] // - TLS Callback Functions