Skip to content
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

Make HostModel PEUtils always read/write little endian #92392

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

elinor-fung
Copy link
Member

This makes IsPEImage, GetWindowsGraphicalUserInterfaceBit, and SetWindowsGraphicalUserInterfaceBit in PEUtils explicitly read / write in little endian (per PE format) instead of whatever the system is.

See #92344

cc @agocke

@elinor-fung elinor-fung added the area-HostModel Microsoft.NET.HostModel issues label Sep 21, 2023
@ghost ghost assigned elinor-fung Sep 21, 2023
@ghost
Copy link

ghost commented Sep 21, 2023

Tagging subscribers to this area: @vitek-karas, @agocke
See info in area-owners.md if you want to be subscribed.

Issue Details

This makes IsPEImage, GetWindowsGraphicalUserInterfaceBit, and SetWindowsGraphicalUserInterfaceBit in PEUtils explicitly read / write in little endian (per PE format) instead of whatever the system is.

See #92344

cc @agocke

Author: elinor-fung
Assignees: -
Labels:

area-HostModel

Milestone: -

@elinor-fung elinor-fung merged commit 13a97c8 into dotnet:main Sep 21, 2023
@elinor-fung elinor-fung deleted the peUtils-endianness branch September 21, 2023 22:29
@elinor-fung
Copy link
Member Author

/backport to release/8.0-rc2

@github-actions
Copy link
Contributor

Started backporting to release/8.0-rc2: https://github.com/dotnet/runtime/actions/runs/6267827147

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-HostModel Microsoft.NET.HostModel issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants