mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed hot scan type detection with object extension data
This commit is contained in:
parent
e087c95c71
commit
aaa08e9a4e
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,10 @@ void DbgHotScanner::ScanSpan(TCFake::Span* span, int expectedStartPage, int memK
|
||||||
|
|
||||||
int objectSize = ((mDbgGCData.mDbgFlags & BfRtFlags_ObjectHasDebugFlags) != 0) ? sizeof(addr_target)*2 : sizeof(addr_target);
|
int objectSize = ((mDbgGCData.mDbgFlags & BfRtFlags_ObjectHasDebugFlags) != 0) ? sizeof(addr_target)*2 : sizeof(addr_target);
|
||||||
|
|
||||||
|
mDebugger->mDebugTarget->GetCompilerSettings();
|
||||||
|
if (mDebugger->mDebugTarget->mBfObjectSize != 0)
|
||||||
|
objectSize = mDebugger->mDebugTarget->mBfObjectSize;
|
||||||
|
|
||||||
while (spanPtr <= (uint8*)spanEnd - elementSize)
|
while (spanPtr <= (uint8*)spanEnd - elementSize)
|
||||||
{
|
{
|
||||||
addr_target classVDataAddr = 0;
|
addr_target classVDataAddr = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue