winedump: Add support for dumping filestatic Codeview records.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d6aff64ccf
commit
36961eef16
|
@ -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)
|
||||||
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, " ");
|
||||||
|
|
Loading…
Reference in New Issue