Commit 13585ddd authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent f076d79c
......@@ -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;
......
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