1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed dwarf null check

This commit is contained in:
Brian Fiete 2023-07-25 14:23:46 -07:00
parent 974e8ac354
commit a269a19ed8

View file

@ -2514,7 +2514,7 @@ DbgModule* DebugTarget::FindDbgModuleForAddress(addr_target address)
}
auto dwarf = valuePtr->mFirst;
if ((address >= dwarf->mImageBase) && (address < dwarf->mImageBase + dwarf->mImageSize))
if ((dwarf != NULL) && (address >= dwarf->mImageBase) && (address < dwarf->mImageBase + dwarf->mImageSize))
return dwarf;
if (valuePtr->mCollisions != NULL)