winedump: Add more image debug types.

This commit is contained in:
André Hentschel 2015-05-27 22:33:30 +02:00 committed by Alexandre Julliard
parent 8e0164bd26
commit 29c47defe6
2 changed files with 9 additions and 14 deletions

View File

@ -3531,6 +3531,10 @@ typedef struct _IMAGE_DEBUG_DIRECTORY {
#define IMAGE_DEBUG_TYPE_BORLAND 9 #define IMAGE_DEBUG_TYPE_BORLAND 9
#define IMAGE_DEBUG_TYPE_RESERVED10 10 #define IMAGE_DEBUG_TYPE_RESERVED10 10
#define IMAGE_DEBUG_TYPE_CLSID 11 #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 typedef enum ReplacesCorHdrNumericDefines
{ {

View File

@ -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_BORLAND: str = "BORLAND"; break;
case IMAGE_DEBUG_TYPE_RESERVED10: str = "RESERVED10"; break; case IMAGE_DEBUG_TYPE_RESERVED10: str = "RESERVED10"; break;
case IMAGE_DEBUG_TYPE_CLSID: str = "CLSID"; 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(" Type: %u (%s)\n", idd->Type, str);
printf(" SizeOfData: %u\n", idd->SizeOfData); printf(" SizeOfData: %u\n", idd->SizeOfData);
@ -1363,20 +1367,7 @@ static void dump_dir_debug_dir(const IMAGE_DEBUG_DIRECTORY* idd, int idx)
printf(" Data: %s\n", misc->Data); printf(" Data: %s\n", misc->Data);
} }
break; break;
case IMAGE_DEBUG_TYPE_EXCEPTION: default: break;
break;
case IMAGE_DEBUG_TYPE_FIXUP:
break;
case IMAGE_DEBUG_TYPE_OMAP_TO_SRC:
break;
case IMAGE_DEBUG_TYPE_OMAP_FROM_SRC:
break;
case IMAGE_DEBUG_TYPE_BORLAND:
break;
case IMAGE_DEBUG_TYPE_RESERVED10:
break;
case IMAGE_DEBUG_TYPE_CLSID:
break;
} }
printf("\n"); printf("\n");
} }