1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

addr==0 check on memcache in debugger

This commit is contained in:
Brian Fiete 2022-05-27 11:29:16 -07:00
parent f081365dab
commit 49716559e4

View file

@ -11875,6 +11875,9 @@ String WinDebugger::DisassembleAtRaw(intptr inAddress)
memCache = new DbgModuleMemoryCache(addrStart & (4096 - 1), 4096 * 2); memCache = new DbgModuleMemoryCache(addrStart & (4096 - 1), 4096 * 2);
} }
if (memCache->mAddr == 0)
return "";
//addr_target imageBase = dbgModule->mImageBase; //addr_target imageBase = dbgModule->mImageBase;
//int imageSize = dbgModule->mImageSize; //int imageSize = dbgModule->mImageSize;