winedump: Fully dump the compiland (V3) structure out of .pdb files.

This commit is contained in:
Eric Pouech 2008-05-27 21:43:26 +02:00 committed by Alexandre Julliard
parent f076d79c6c
commit 13585ddd71
1 changed files with 10 additions and 4 deletions

View File

@ -1189,13 +1189,19 @@ int codeview_dump_symbols(const void* root, unsigned long size)
break;
case S_MSTOOL_V3: /* info about tool used to create CU */
{
const unsigned short* ptr = ((const unsigned short*)sym) + 2;
const unsigned short* ptr = ((const unsigned short*)sym) + 2;
const char* x1;
const char* x2 = (const char*)&ptr[9];
/* FIXME: what are all those values for ? */
printf("\tTool V3 ??? %x-%x-%x-%x-%x-%x-%x-%x-%x %s\n",
ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7],
ptr[8], (const char*)(&ptr[9]));
dump_data((const void*)sym, sym->generic.len + 2, "\t\t");
ptr[8], x2);
while (*(x1 = x2 + strlen(x2) + 1))
{
x2 = x1 + strlen(x1) + 1;
if (!*x2) break;
printf("\t\t%s: %s\n", x1, x2);
}
}
break;