mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Circular dependency checking between generic constraints
This commit is contained in:
parent
e307448363
commit
2bbe66cecc
7 changed files with 108 additions and 5 deletions
|
@ -297,7 +297,7 @@ void DbgHotScanner::ScanRoot(addr_target rootPtr, int memKind)
|
|||
continue;
|
||||
|
||||
int expectedStartPage = (rootIdx * PageHeap::PageMap::LEAF_LENGTH) + leafIdx;
|
||||
Span span;
|
||||
TCFake::Span span;
|
||||
mDebugger->ReadMemory(spanAddr, sizeof(span), &span);
|
||||
ScanSpan(&span, expectedStartPage, memKind);
|
||||
}
|
||||
|
@ -326,7 +326,7 @@ void DbgHotScanner::ScanRoot(addr_target rootPtr, int memKind)
|
|||
continue;
|
||||
|
||||
int expectedStartPage = ((pageIdx1 * PageHeap::PageMap::INTERIOR_LENGTH) + pageIdx2) * PageHeap::PageMap::LEAF_LENGTH + pageIdx3;
|
||||
Span span;
|
||||
TCFake::Span span;
|
||||
mDebugger->ReadMemory(spanAddr, sizeof(span), &span);
|
||||
ScanSpan(&span, expectedStartPage, memKind);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue