Files
sigmaker-ida/idasdk76/plugins/pdb/misc.cpp
2021-10-31 21:20:46 +02:00

41 lines
741 B
C++

//----------------------------------------------------------------------
static const char *symtag_to_string(uint32 tag)
{
static const char *const names[] =
{
"Null",
"Exe",
"Compiland",
"CompilandDetails",
"CompilandEnv",
"Function",
"Block",
"Data",
"Annotation",
"Label",
"PublicSymbol",
"UDT",
"Enum",
"FunctionType",
"PointerType",
"ArrayType",
"BaseType",
"Typedef",
"BaseClass",
"Friend",
"FunctionArgType",
"FuncDebugStart",
"FuncDebugEnd",
"UsingNamespace",
"VTableShape",
"VTable",
"Custom",
"Thunk",
"CustomType",
"ManagedType",
"Dimension"
};
return tag < qnumber(names) ? names[tag] : "???";
}