Repository navigation
Conversation
Add CDAC_E_DESCRIPTOR_NOT_FOUND (mirrors CdacHResults) to dbgshim.h and return it when the runtime module doesn't export DotNetRuntimeContractDescriptor. OpenDataAccessProcess now propagates the descriptor failure and reports CORDBG_E_DEBUG_COMPONENT_MISSING when the cDAC binary is missing, instead of a generic E_FAIL. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 25f5f771-28fa-4d97-a937-ff9a077922c0
steveisok
reviewed
Nov 19, 2026
Check cDAC file attributes before data-access activation and assert the missing-component HRESULT in load-policy tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4c06b1b6-0dc6-4cf7-8744-0a0db7a44626
steveisok
approved these changes
Nov 19, 2026
3 tasks
Member
|
Does this still return a cDAC not detected for an 8 runtime? That wasn't the original intention. It specifically returned the not impl code to fallback to non-cdac codes for older runtimes for backwards compat. |
Contributor
Author
Yes, it does return cDAC not detected for older runtimes. I didn’t consider the back compat, I was trying to make sure we got a cDAC error whenever we tried and failed to load the cDAC. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a206abc8-e459-4ebd-afc0-fa4ebfbfa7b5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CDAC_E_DESCRIPTOR_NOT_FOUND (mirrors CdacHResults) to dbgshim.h and return it when the runtime module doesn't export DotNetRuntimeContractDescriptor. OpenDataAccessProcess now propagates the descriptor failure and reports CORDBG_E_DEBUG_COMPONENT_MISSING when the cDAC binary is missing, instead of a generic E_FAIL.