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

CI: Add Control Flow Integrity sanitizer #604

Closed
chfast opened this issue Oct 14, 2020 · 1 comment
Closed

CI: Add Control Flow Integrity sanitizer #604

chfast opened this issue Oct 14, 2020 · 1 comment

Comments

@chfast
Copy link
Collaborator

chfast commented Oct 14, 2020

Add CI job with Control Flow Integrity sanitizer in Clang:

-fsanitize=cfi -fno-sanitize-trap

https://clang.llvm.org/docs/ControlFlowIntegrity.html

@chfast
Copy link
Collaborator Author

chfast commented Feb 1, 2021

I don't think this is super useful (at least at this point), because it protects against misuses of casts we almost don't use, e.g. base to derived class cast, wrong function pointer cast, casts from void*.

@chfast chfast closed this as completed Feb 1, 2021
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

No branches or pull requests

1 participant