Commit 768bb93f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedump: Dump MSC's S_UNAMESPACE entries.

parent bad36875
......@@ -1958,6 +1958,20 @@ union codeview_symbol
unsigned short varflags;
char name[1];
} file_static_v3;
struct
{
unsigned short int len;
unsigned short int id;
struct p_string pname;
} unamespace_v2;
struct
{
unsigned short int len;
unsigned short int id;
unsigned char name[1];
} unamespace_v3;
};
enum BinaryAnnotationOpcode
......@@ -2031,6 +2045,7 @@ enum BinaryAnnotationOpcode
#define S_GTHREAD32_ST 0x100f
#define S_FRAMEPROC 0x1012
#define S_COMPILE2_ST 0x1013
#define S_UNAMESPACE_ST 0x1029
#define S_OBJNAME 0x1101
#define S_THUNK32 0x1102
......
......@@ -1839,6 +1839,14 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size)
get_varflags(sym->file_static_v3.varflags));
break;
case S_UNAMESPACE_ST:
printf("UNameSpace V2 '%s'\n", p_string(&sym->unamespace_v2.pname));
break;
case S_UNAMESPACE:
printf("UNameSpace V3 '%s'\n", sym->unamespace_v3.name);
break;
default:
printf("\n\t\t>>> Unsupported symbol-id %x sz=%d\n", sym->generic.id, sym->generic.len + 2);
dump_data((const void*)sym, sym->generic.len + 2, " ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment