Skip to content

Add cDac runtime enumeration support #1311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 1, 2025

Conversation

mikem8361
Copy link
Member

Adds a new DebugLibaryKind.CDac enum used when the data contract export is found on a runtime module.

Currently the file path to the cdac is the same directory as the clrmd module.

Currently leaves it to the client (SOS in this case) to decide when it wants to instantiate the cdac. The standalone hosting support doesn't currently pick the cdac.

Breaking changes:

Add "bool verifySignature" to IClrInfoProvider.GetDacServices and remove the CustomDataTarget.DacSignatureVerificationEnabled property.

Adds data target support for ICLRContractLocator for when clrmd loads the cdac.

Adds a new DebugLibaryKind.CDac enum used when the data contract export is found on a runtime module.

Currently the file path to the cdac is the same directory as the clrmd module.

Currently leaves it to the client (SOS in this case) to decide when it wants to instantiate the cdac. The standalone hosting support doesn't currently pick the cdac.

Breaking changes:

Add "bool verifySignature" to IClrInfoProvider.GetDacServices and remove the CustomDataTarget.DacSignatureVerificationEnabled
property.

Adds data target support for ICLRContractLocator for when clrmd loads the cdac.
@mikem8361 mikem8361 requested review from leculver and hoyosjs March 28, 2025 18:30
@mikem8361
Copy link
Member Author

/cc: @max-charlamb

Copy link
Contributor

@max-charlamb max-charlamb left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@leculver leculver left a comment

Choose a reason for hiding this comment

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

Marking as Request Changes until I understand the change to DacSignatureVerificationEnabled.

@mikem8361 mikem8361 merged commit 6fa427d into microsoft:main Apr 1, 2025
8 checks passed
@mikem8361 mikem8361 deleted the cdac_support branch April 1, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants