Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make DAC return Module instead of PEAssembly for DacpModuleData::PEAssembly - #103821

#103821
Merged
elinor-fung merged 1 commit into
dotnet:maindotnet/runtime:mainfrom
elinor-fung:dac-hide-peassemblyelinor-fung/runtime:dac-hide-peassemblyCopy head branch name to clipboard
Jun 24, 2024
Merged

Make DAC return Module instead of PEAssembly for DacpModuleData::PEAssembly#103821
elinor-fung merged 1 commit into
dotnet:maindotnet/runtime:mainfrom
elinor-fung:dac-hide-peassemblyelinor-fung/runtime:dac-hide-peassemblyCopy head branch name to clipboard

Conversation

@elinor-fung

Copy link
Copy Markdown
Member

Avoid exposing PEAssembly in the DAC APIs. Make DacpModuleData::PEAssembly and DacpGetModuleData::PEAssembly be the Module instead and update the GetPEFileName and GetPEFileBase to expect a module address.

Contributes to #99302. We want to avoid exposing PEAssembly at all in the cDAC.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@jkotas

jkotas commented Jun 22, 2024

Copy link
Copy Markdown
Member

Could you please also make a matching change to SOS to stop printing PEAssembly so that it does not cause confusion?

https://github.com/dotnet/diagnostics/blob/842c9603a97cf417814cf6c8d96e5c881025bf0e/src/SOS/Strike/strike.cpp#L3969

PEAssembly is not particular useful Module detail. It can be trivially fetched by regular windbg/lldb data inspection commands.

@elinor-fung
elinor-fung merged commit 95964c1 into dotnet:main Jun 24, 2024
@elinor-fung
elinor-fung deleted the dac-hide-peassembly branch June 24, 2024 15:56
@elinor-fung elinor-fung mentioned this pull request Jun 28, 2024
25 tasks
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.