-
Notifications
You must be signed in to change notification settings - Fork 82
Enable Control Flow Guard in Windows executables #1205
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
Conversation
Test Results 282 files - 564 282 suites - 564 36m 33s ⏱️ - 1h 8m 23s Results for commit bda8d95. ± Comparison against base commit 205d931. This pull request skips 1 test.♻️ This comment has been updated with latest results. |
I don't have the ability to build this project, but I can check the executable if one can be built and provided. |
The build archives the the built binaries, for example for build No.1 at |
|
I downloaded the Windows x64 eclipse.exe executable provided at that link, and verified using Sysinternals Process Explorer that control flow guard is enabled. |
|
@tjwatson What do you think should we merge this for RC1 or better wait for the next release cycle? |
|
FYI, I tried copying the eclipse_*dll and the eclipse.exe into an installation and it did not appear to cause any immediate problems. |
a6f1731 to
c0af2d9
Compare
|
Something is broken with the native builds, we need to wait for @HannesWell here if no one else has an idea what might gets wrong. |
Add /guard:cf flag to compilation and linking steps in make_win64.mak to enable Control Flow Guard protection. Stack protection with -GS flag was already enabled. Fixes eclipse-equinox#851
At the moment one of the Windows build agents is offline. I asked the IT team to re-connect it: The previous build failed after the native build succeeded. I haven't investigated yet if this is related. |
From the issue, it looks like the agent is now back online. Could someone please rerun the workflows to verify? |
|
@arunjose696 I already rerun the workflow, but now the x86 workflow fails (that previously succeeded). So it seems for some reasons the both windows agents influence each other and only one of them can succeed at a time. |
After another rebuild the native build now succeeded. But the subsequent build failed due to missing version increments on the Windows fragments for the equinox launcher. But this can be explained, because the fragment content changes without a source-file within them being touched. |
|
The Jenkins build succeed, to make progress here I merge this anyways GH actions currently seem to be broken. |
Add /guard:cf flag to compilation and linking steps in make_win64.mak to enable Control Flow Guard protection. Stack protection with -GS flag was already enabled.
Fixes #851
@njakubiak can you check if this fixes the issue for you?