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
{{ message }}
Repository navigation
[cDAC] Handle interior pointer resolution in GcScanContext #125728
The cDAC's GcScanContext in GcScanContext.cs currently throws NotImplementedException when encountering interior pointers (GC_CALL_INTERIOR flag) with ResolveInteriorPointers set to true.
Current Behavior
Both GCEnumCallback and GCReportCallback methods contain:
When an interior pointer is reported (e.g., pointing to the middle of an object), the cDAC should resolve it to the containing object's base address, matching the behavior of the native DAC's GcStackReferenceData reporting.
This is not currently hit in the common EnumerateStackRefs path because ResolveInteriorPointers defaults to false, but it could be needed by future consumers or when the cDAC is used for SOS scenarios that require resolved object addresses.
Context
This was identified during review of PR #125505 (cDAC stack reference walking). The relevant code is at:
changed the title [-]cDAC: Handle interior pointer resolution in GcScanContext[/-][+][cDAC] Handle interior pointer resolution in GcScanContext[/+]on Mar 18, 2026
Activity
dotnet-policy-service commentedon Mar 18, 2026
Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.
[-]cDAC: Handle interior pointer resolution in GcScanContext[/-][+][cDAC] Handle interior pointer resolution in GcScanContext[/+]dotnet-policy-service commentedon Mar 18, 2026
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.
Implement DacDbi cDAC APIs CreateRefWalk, DeleteRefWalk, WalkRefs (#1…
Implement DacDbi cDAC APIs CreateRefWalk, DeleteRefWalk, WalkRefs (#1…