17 IMAGE_DEBUG_DIRECTORY* DebugDirWrapper::debugDir()
22 if (ptr == NULL)
return NULL;
24 return (IMAGE_DEBUG_DIRECTORY*) ptr;
39 if (
getPtr() == NULL)
return 0;
40 return sizeof(IMAGE_DEBUG_DIRECTORY);
51 IMAGE_DEBUG_DIRECTORY* d = debugDir();
52 if (d == NULL)
return NULL;
59 case TYPE:
return &d->Type;
74 case TYPE:
return "Type";
94 case pe::DT_UNKNOWN :
return "unknown";
95 case pe::DT_COFF :
return "COFF";
96 case pe::DT_CODEVIEW :
return "Visual C++ (CodeView)";
97 case pe::DT_FPO :
return "frame pointer omission";
98 case pe::DT_MISC :
return "DBG file";
99 case pe::DT_EXCEPTION :
return "A copy of .pdata section";
100 case pe::DT_FIXUP :
return "Reserved";
101 case pe::DT_OMAP_TO_SRC :
return "mapping from an RVA in image to an RVA in source image";
102 case pe::DT_OMAP_FROM_SRC :
return "mapping from an RVA in source image to an RVA in image";
103 case pe::DT_BORLAND :
return "Borland";
104 case pe::DT_RESERVED10 :
return "Reserved";
105 case pe::DT_CLSID :
return "CLSID";
106 case pe::DT_VC_FEATURE :
return "VC Feature";
107 case pe::DT_POGO :
return "POGO";
108 case pe::DT_ILTCG :
return "ILTCG";
109 case pe::DT_MPX :
return "MPX";
110 case pe::DT_REPRO :
return "REPRO";
117 if (fieldId !=
TYPE)
return "";
119 IMAGE_DEBUG_DIRECTORY* d = debugDir();
120 if (d == NULL)
return NULL;
offset_t getDirEntryAddress()
QString translateFieldContent(size_t fieldId)
QString translateType(int type)
virtual bufsize_t getSize()
virtual QString getName()
virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField=FIELD_NONE)
virtual QString getFieldName(size_t fieldId)
virtual void * getFieldPtr(size_t fieldId, size_t subField)
BYTE * getContentAt(offset_t offset, bufsize_t size, bool allowExceptions=false)