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

Enable Control Flow Guard on Windows #2986

Merged
merged 1 commit into from Feb 11, 2017

Conversation

@yying
Copy link
Contributor

@yying yying commented Feb 8, 2017

This adds the compiler and linker flags necessary to enable control flow guard on the Windows build of osquery.

@theopolis
Copy link
Member

@theopolis theopolis commented Feb 9, 2017

So if this is passing our compile and unit tests, does that meaning we're also passing the CFI checks?

And if this is enabled for the default compile/link, are we adding any additional overhead? If so, could we gate this to debug builds?

@theopolis
Copy link
Member

@theopolis theopolis commented Feb 9, 2017

NB: I'm 100% OK with this being enabled for all runtime binaries if it makes them safer.

@theopolis theopolis merged commit d5cb6a3 into osquery:master Feb 11, 2017
4 checks passed
4 checks passed
Code Audit Build finished.
Details
Linux Build finished.
Details
Windows Build finished.
Details
macOS/OS X Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.