1
0
Fork 0

Support displaying memory at base 0 in HexDump

This commit is contained in:
Duncan Ogilvie 2025-04-20 16:41:47 +02:00
parent 735d7d7450
commit 566f0d07d5
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void HexDump::printDumpAt(duint parVA, bool select, bool repaint, bool updateTab
{ {
duint size = 0; duint size = 0;
auto base = DbgMemFindBaseAddr(parVA, &size); //get memory base auto base = DbgMemFindBaseAddr(parVA, &size); //get memory base
if(!base || !size) if(size == 0)
return; return;
auto rva = parVA - base; //calculate rva auto rva = parVA - base; //calculate rva
auto bytePerRowCount = getBytePerRowCount(); //get the number of bytes per row auto bytePerRowCount = getBytePerRowCount(); //get the number of bytes per row