Skip to content

enable DEP (NX bit) for 32-bit Windows executables #16534

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 1 commit into from
Aug 16, 2014
Merged

enable DEP (NX bit) for 32-bit Windows executables #16534

merged 1 commit into from
Aug 16, 2014

Conversation

thestinger
Copy link
Contributor

This is already enabled by default for x86_64 executables on Windows,
but it needs to be manually enabled on x86.

Closes #16533

@thestinger
Copy link
Contributor Author

Sadly, getting ASLR working with MinGW-w64 is not this simple... passing --dynamicbase to the linker is supposed to work, but it doesn't generate the required relocation information for executables.

This is already enabled by default for x86_64 executables on Windows,
but it needs to be manually enabled on x86.

Closes #16533
bors added a commit that referenced this pull request Aug 16, 2014
This is already enabled by default for x86_64 executables on Windows,
but it needs to be manually enabled on x86.

Closes #16533
@bors bors closed this Aug 16, 2014
@bors bors merged commit d3c71a5 into rust-lang:master Aug 16, 2014
@thestinger thestinger deleted the dep branch September 10, 2014 06:55
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.

enable DEP on 32-bit Windows
2 participants