Skip to content

Conversation

@Ben-Lichtman
Copy link

IMAGE_LOAD_CONFIG_DIRECTORY32 and IMAGE_LOAD_CONFIG_DIRECTORY64 did not have all their fields included, so I have added them

@Ben-Lichtman Ben-Lichtman force-pushed the load_config branch 3 times, most recently from cb672b0 to 343c4d9 Compare September 27, 2023 22:19
@Ben-Lichtman
Copy link
Author

Note that this involved changing some of the const assertions made at the bottom of image.rs

@Ben-Lichtman
Copy link
Author

@Ben-Lichtman
Copy link
Author

Ben-Lichtman commented Sep 27, 2023

Note: this also adds the packed(4) attribute to IMAGE_LOAD_CONFIG_DIRECTORY64, since this struct may be 4 byte aligned according to the windows SDK eg. https://github.com/tpn/winsdk-10/blob/9b69fd26ac0c7d0b83d378dba01080e93349c2ed/Include/10.0.16299.0/km/ntimage.h#L1746 - This is a breaking change to the pelite API

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.

1 participant