1
0
Fork 0

Add module name to import symbols

This commit is contained in:
torusrxxx 2021-04-10 18:25:13 +08:00
parent 654f1195b3
commit 2ca68df4a0
No known key found for this signature in database
GPG Key ID: A795C73A0F1CFADD
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,15 @@ QString ZehSymbolTable::getCellContent(int r, int c)
else
return QString();
case ColDecorated:
char modname[MAX_MODULE_SIZE];
// Get module name for import symbols
if(info->type == sym_import)
{
duint wVA;
if(DbgMemRead(info->addr, &wVA, sizeof(duint)))
if(DbgGetModuleAt(wVA, modname))
return QString(modname).append('.').append(info->decoratedSymbol);
}
return info->decoratedSymbol;
case ColUndecorated:
return info->undecoratedSymbol;