Commit 36961eef authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedump: Add support for dumping filestatic Codeview records.

parent d6aff64c
...@@ -1881,6 +1881,16 @@ union codeview_symbol ...@@ -1881,6 +1881,16 @@ union codeview_symbol
unsigned int invocations[0]; /* array of count entries, paires with funcs */ unsigned int invocations[0]; /* array of count entries, paires with funcs */
#endif #endif
} function_list_v3; } function_list_v3;
struct
{
unsigned short int len;
unsigned short int id;
cv_typ_t typind;
unsigned int modOffset;
unsigned short varflags;
char name[1];
} file_static_v3;
}; };
enum BinaryAnnotationOpcode enum BinaryAnnotationOpcode
......
...@@ -1800,6 +1800,14 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size) ...@@ -1800,6 +1800,14 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size)
sym->heap_alloc_site_v3.index); sym->heap_alloc_site_v3.index);
break; break;
case S_FILESTATIC:
printf("File-static V3 '%s' type:%04x modOff:%08x flags:%s\n",
sym->file_static_v3.name,
sym->file_static_v3.typind,
sym->file_static_v3.modOffset,
get_varflags(sym->file_static_v3.varflags));
break;
default: default:
printf("\n\t\t>>> Unsupported symbol-id %x sz=%d\n", sym->generic.id, sym->generic.len + 2); 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, " "); 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