Skip to content

[cDAC] Update allowlist in LegacyFallbackHelper#127887

Open
rcj1 wants to merge 2 commits intodotnet:mainfrom
rcj1:update-legacy-helpers
Open

[cDAC] Update allowlist in LegacyFallbackHelper#127887
rcj1 wants to merge 2 commits intodotnet:mainfrom
rcj1:update-legacy-helpers

Conversation

@rcj1
Copy link
Copy Markdown
Contributor

@rcj1 rcj1 commented May 6, 2026

Removed newly implemented methods from the allowlist.

Removed unsupported methods from the allowlist.
@rcj1 rcj1 requested review from Copilot and max-charlamb May 6, 2026 20:58
@rcj1 rcj1 changed the title Update allowlist in LegacyFallbackHelper [cDAC] Update allowlist in LegacyFallbackHelper May 6, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the cDAC legacy fallback gating so that fewer delegation-only APIs are permitted to fall back to the legacy DAC when CDAC_NO_FALLBACK=1, tightening enforcement of “no fallback” runs.

Changes:

  • Removes IXCLRDataModule.GetMethodDefinitionByToken from the no-fallback allowlist.
  • Removes ISOSDacInterface11.IsTrackedType from the no-fallback allowlist.
  • Removes ISOSDacInterface.TraverseLoaderHeap from the no-fallback allowlist.
Show a summary per file
File Description
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Legacy/LegacyFallbackHelper.cs Shrinks the method allowlist used to permit legacy-DAC fallback in no-fallback mode.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants