mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed dwarf null check
This commit is contained in:
parent
974e8ac354
commit
a269a19ed8
1 changed files with 1 additions and 1 deletions
|
@ -2514,7 +2514,7 @@ DbgModule* DebugTarget::FindDbgModuleForAddress(addr_target address)
|
||||||
}
|
}
|
||||||
|
|
||||||
auto dwarf = valuePtr->mFirst;
|
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;
|
return dwarf;
|
||||||
|
|
||||||
if (valuePtr->mCollisions != NULL)
|
if (valuePtr->mCollisions != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue