1
0
Fork 0
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:
Brian Fiete 2022-08-04 12:24:10 -07:00
parent e087c95c71
commit aaa08e9a4e

View file

@ -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);
mDebugger->mDebugTarget->GetCompilerSettings();
if (mDebugger->mDebugTarget->mBfObjectSize != 0)
objectSize = mDebugger->mDebugTarget->mBfObjectSize;
while (spanPtr <= (uint8*)spanEnd - elementSize)
{
addr_target classVDataAddr = 0;