dbghelp: Fix the localization of section table while loading COFF information.
This commit is contained in:
parent
fcba272391
commit
1f5ff75107
|
@ -409,7 +409,7 @@ static BOOL pe_load_coff_symbol_table(struct module* module)
|
|||
isym = (const IMAGE_SYMBOL*)((const char*)mapping + fmap->u.pe.ntheader.FileHeader.PointerToSymbolTable);
|
||||
/* FIXME: no way to get strtable size */
|
||||
strtable = (const char*)&isym[numsym];
|
||||
sect = IMAGE_FIRST_SECTION(&fmap->u.pe.ntheader);
|
||||
sect = IMAGE_FIRST_SECTION(RtlImageNtHeader((HMODULE)mapping));
|
||||
|
||||
for (i = 0; i < numsym; i+= naux, isym += naux)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue