winedump: Add more image debug types

André Hentschel nerv at dawncrow.de
Tue May 26 15:59:46 CDT 2015


My main goal is to destroy the ccache from Michael S. ;)
---
 include/winnt.h     | 4 ++++
 tools/winedump/pe.c | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/include/winnt.h b/include/winnt.h
index b25c25b..4c89750 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -3531,6 +3531,10 @@ typedef struct _IMAGE_DEBUG_DIRECTORY {
 #define IMAGE_DEBUG_TYPE_BORLAND        9
 #define IMAGE_DEBUG_TYPE_RESERVED10    10
 #define IMAGE_DEBUG_TYPE_CLSID         11
+#define IMAGE_DEBUG_TYPE_VC_FEATURE    12
+#define IMAGE_DEBUG_TYPE_POGO          13
+#define IMAGE_DEBUG_TYPE_ILTCG         14
+#define IMAGE_DEBUG_TYPE_MPX           15
 
 typedef enum ReplacesCorHdrNumericDefines
 {
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 51ceba4..5ba84af 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -1331,6 +1331,10 @@ static	void	dump_dir_debug_dir(const IMAGE_DEBUG_DIRECTORY* idd, int idx)
     case IMAGE_DEBUG_TYPE_BORLAND:	str = "BORLAND"; 	break;
     case IMAGE_DEBUG_TYPE_RESERVED10:	str = "RESERVED10"; 	break;
     case IMAGE_DEBUG_TYPE_CLSID:	str = "CLSID"; 	break;
+    case IMAGE_DEBUG_TYPE_VC_FEATURE:   str = "VC_FEATURE"; break;
+    case IMAGE_DEBUG_TYPE_POGO:         str = "POGO";       break;
+    case IMAGE_DEBUG_TYPE_ILTCG:        str = "ILTCG";      break;
+    case IMAGE_DEBUG_TYPE_MPX:          str = "MPX";        break;
     }
     printf("  Type:              %u (%s)\n", idd->Type, str);
     printf("  SizeOfData:        %u\n", idd->SizeOfData);
@@ -1376,6 +1380,10 @@ static	void	dump_dir_debug_dir(const IMAGE_DEBUG_DIRECTORY* idd, int idx)
     case IMAGE_DEBUG_TYPE_RESERVED10:
 	break;
     case IMAGE_DEBUG_TYPE_CLSID:
+    case IMAGE_DEBUG_TYPE_VC_FEATURE:
+    case IMAGE_DEBUG_TYPE_POGO:
+    case IMAGE_DEBUG_TYPE_ILTCG:
+    case IMAGE_DEBUG_TYPE_MPX:
 	break;
     }
     printf("\n");
-- 
1.9.1




More information about the wine-patches mailing list