You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyzed Read fails with RTX5 lib: Added data logging via "Trace" channel, added list loop detection: (A->B->C->A) (#831)
* added tests for cache and memory-host
* Added Data Logging (Channel: Trace), added deeper list loop detection (Cycle A->B->C->A)
* changed log to info for timing stats
componentViewerLogger.trace(`[MemoryHost.setVariable] → wrote at offset=${appendOff}, element count now=${meta.offsets.length}, targetBase=0x${normBase?.toString(16)}`);
// Detect cycles: check if we've visited this address before
301
+
if(visitedAddresses.has(itemAddress)){
302
+
componentViewerLogger.error(`${this.scvdItem.getLineNoStr()}: Executing "readlist": ${scvdReadList.name}, symbol: ${symbol?.name}, detected cycle in linked list at address: ${itemAddress.toString(16)}`);
console.warn(`${this.scvdItem.getLineNoStr()}: Executing "readlist": ${scvdReadList.name}, symbol: ${symbol?.name}, detected loop in linked list at address: ${itemAddress.toString(16)}`);
382
-
break;
383
388
}
389
+
// Note: Cycle detection is now handled at the start of the loop
390
+
// by checking visitedAddresses Set, which catches all cycles (A→B→C→A)
0 commit comments