From 520f9bcb2247cfea84d05780199c8e7b4301f9d8 Mon Sep 17 00:00:00 2001 From: Jason Shirk Date: Thu, 3 Aug 2023 16:14:49 -0700 Subject: [PATCH] patterns/pe: Fix DebugDirectory version field types (#146) --- patterns/pe.hexpat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patterns/pe.hexpat b/patterns/pe.hexpat index 5188ed7..dd9a086 100644 --- a/patterns/pe.hexpat +++ b/patterns/pe.hexpat @@ -1106,8 +1106,8 @@ enum DebugType : u32 { struct DebugDirectory { u32 characteristics; u32 timeDateStamp; - u32 majorVersion; - u32 minorVersion; + u16 majorVersion; + u16 minorVersion; DebugType type; u32 sizeOfData; u32 virtualAddressOfRawData;