dbghelp,winedump: Added support for symbol symbol.
This commit is contained in:
parent
028956d1fe
commit
81df3de0fc
|
@ -1733,6 +1733,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
|
||||||
case S_SECUCOOKIE_V3:
|
case S_SECUCOOKIE_V3:
|
||||||
case S_SECTINFO_V3:
|
case S_SECTINFO_V3:
|
||||||
case S_SUBSECTINFO_V3:
|
case S_SUBSECTINFO_V3:
|
||||||
|
case S_ENTRYPOINT_V3:
|
||||||
case 0x1139:
|
case 0x1139:
|
||||||
TRACE("Unsupported symbol id %x\n", sym->generic.id);
|
TRACE("Unsupported symbol id %x\n", sym->generic.id);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1619,6 +1619,7 @@ union codeview_symbol
|
||||||
#define S_PUB_FUNC2_V3 0x1127
|
#define S_PUB_FUNC2_V3 0x1127
|
||||||
#define S_SECTINFO_V3 0x1136
|
#define S_SECTINFO_V3 0x1136
|
||||||
#define S_SUBSECTINFO_V3 0x1137
|
#define S_SUBSECTINFO_V3 0x1137
|
||||||
|
#define S_ENTRYPOINT_V3 0x1138
|
||||||
#define S_SECUCOOKIE_V3 0x113A
|
#define S_SECUCOOKIE_V3 0x113A
|
||||||
#define S_MSTOOLINFO_V3 0x113C
|
#define S_MSTOOLINFO_V3 0x113C
|
||||||
#define S_MSTOOLENV_V3 0x113D
|
#define S_MSTOOLENV_V3 0x113D
|
||||||
|
|
|
@ -1299,6 +1299,11 @@ int codeview_dump_symbols(const void* root, unsigned long size)
|
||||||
(const char*)sym + 18);
|
(const char*)sym + 18);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case S_ENTRYPOINT_V3:
|
||||||
|
printf("\tSEntryPoint: id=%x '%s'\n",
|
||||||
|
*(unsigned*)((const char*)sym + 4), (const char*)sym + 8);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printf(">>> Unsupported symbol-id %x sz=%d\n", sym->generic.id, sym->generic.len + 2);
|
printf(">>> 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