- ReadDebugDirectory(): add about 20 years worth of missing debug directory type names
- symbolsourcedia.h: Add _global.h #include to prevent various macros like WINVER and _WIN32_WINNT from being redefined because Windows.h was indirectly included first
This commit is contained in:
parent
fc9285ed2e
commit
5ad21c69ee
|
@ -381,6 +381,17 @@ void ReadDebugDirectory(MODINFO & Info, ULONG_PTR FileMapVA)
|
|||
return "IMAGE_DEBUG_TYPE_RESERVED10";
|
||||
case IMAGE_DEBUG_TYPE_CLSID:
|
||||
return "IMAGE_DEBUG_TYPE_CLSID";
|
||||
// The following types aren't defined in older Windows SDKs, so just count up from here so we can still return the names for them
|
||||
case (IMAGE_DEBUG_TYPE_CLSID + 1):
|
||||
return "IMAGE_DEBUG_TYPE_VC_FEATURE";
|
||||
case (IMAGE_DEBUG_TYPE_CLSID + 2):
|
||||
return "IMAGE_DEBUG_TYPE_POGO"; // For anyone grepping this: /NOCOFFGRPINFO is the undocumented linker switch to get rid of this crap. You're welcome
|
||||
case (IMAGE_DEBUG_TYPE_CLSID + 3):
|
||||
return "IMAGE_DEBUG_TYPE_ILTCG";
|
||||
case (IMAGE_DEBUG_TYPE_CLSID + 4):
|
||||
return "IMAGE_DEBUG_TYPE_MPX";
|
||||
case (IMAGE_DEBUG_TYPE_CLSID + 5):
|
||||
return "IMAGE_DEBUG_TYPE_REPRO";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _SYMBOLSOURCEDIA_H_
|
||||
#define _SYMBOLSOURCEDIA_H_
|
||||
|
||||
#include "_global.h"
|
||||
|
||||
#include "pdbdiafile.h"
|
||||
#include "symbolsourcebase.h"
|
||||
#include "sortedlru.h"
|
||||
|
|
Loading…
Reference in New Issue