Commit 076dcc84 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp,winedump: Added support for symbol 0x1012.

parent ee4aaf7f
......@@ -1727,6 +1727,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
/* the symbols we can safely ignore for now */
case 0x112c:
case S_FUNCINFO_V2:
case S_SECUCOOKIE_V3:
TRACE("Unsupported symbol id %x\n", sym->generic.id);
break;
......
......@@ -1530,6 +1530,20 @@ union codeview_symbol
unsigned int offset;
unsigned int unknown;
} security_cookie_v3;
struct
{
short int len;
short int id;
unsigned int unknown1; /* maybe size (of what ?) */
unsigned int unknown2;
unsigned int unknown3;
unsigned int unknown4; /* maybe size (of what ?) */
unsigned int unknown5; /* maybe address <offset and segment> (of what ?) */
unsigned short unknown6;
unsigned short flags;
unsigned int unknown7;
} func_info_v2;
};
#define S_COMPILAND_V1 0x0001
......@@ -1583,9 +1597,7 @@ union codeview_symbol
#define S_REGREL_V2 0x100d
#define S_LTHREAD_V2 0x100e
#define S_GTHREAD_V2 0x100f
#if 0
#define S_XXXXXXXXX_32 0x1012 /* seems linked to a function, content unknown */
#endif
#define S_FUNCINFO_V2 0x1012
#define S_COMPILAND_V2 0x1013
#define S_COMPILAND_V3 0x1101
......
......@@ -1033,6 +1033,19 @@ int codeview_dump_symbols(const void* root, unsigned long size)
nest_block++;
break;
/* Additional function information */
case S_FUNCINFO_V2:
printf("\tFunction info V2 unk1:%x unk2:%x unk3:%x unk4:%x unk5:%x unk6:%x flags:%04x unk7:%x\n",
sym->func_info_v2.unknown1,
sym->func_info_v2.unknown2,
sym->func_info_v2.unknown3,
sym->func_info_v2.unknown4,
sym->func_info_v2.unknown5,
sym->func_info_v2.unknown6,
sym->func_info_v2.flags,
sym->func_info_v2.unknown7);
break;
case S_SECUCOOKIE_V3:
printf("\tSecurity Cookie V3 @%d unk:%x\n",
sym->security_cookie_v3.offset, sym->security_cookie_v3.unknown);
......
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