Add module name to import symbols
This commit is contained in:
parent
654f1195b3
commit
2ca68df4a0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue