parent
13b8db3a2b
commit
ddc97f2a74
|
|
@ -174,6 +174,7 @@ void MemUpdateMap()
|
|||
// Get a list of threads for information about Kernel/PEB/TEB/Stack ranges
|
||||
THREADLIST threadList;
|
||||
ThreadGetList(&threadList);
|
||||
auto pebBase = (duint)GetPEBLocation(fdProcessInfo->hProcess);
|
||||
|
||||
for(auto & page : pageVector)
|
||||
{
|
||||
|
|
@ -187,6 +188,13 @@ void MemUpdateMap()
|
|||
continue;
|
||||
}
|
||||
|
||||
// Mark PEB
|
||||
if(pageBase == pebBase)
|
||||
{
|
||||
strcpy_s(page.info, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "PEB")));
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check in threads
|
||||
for(int i = 0; i < threadList.count; i++)
|
||||
{
|
||||
|
|
@ -212,7 +220,7 @@ void MemUpdateMap()
|
|||
sprintf_s(page.info, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Thread %X WoW64 TEB")), threadId);
|
||||
break;
|
||||
}
|
||||
#endif // ndef _WIN64
|
||||
#endif //_WIN64
|
||||
}
|
||||
|
||||
// Mark stack
|
||||
|
|
|
|||
Loading…
Reference in New Issue