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

Turn on sanitizers in the CI pipeline by default #283

Open
sadderchris opened this issue Feb 11, 2022 · 0 comments
Open

Turn on sanitizers in the CI pipeline by default #283

sadderchris opened this issue Feb 11, 2022 · 0 comments

Comments

@sadderchris
Copy link
Contributor

sadderchris commented Feb 11, 2022

Both GCC and Clang (and MSVC partially) provide support for various sanitizers - dynamic analyzers that can do things like detect usage of undefined behavior, memory safety issues (use after free, leaks, etc.), thread-safety issues, etc. These have been very helpful lately for pinpointing and fixing issues that would be difficult to track down otherwise. I think it would be worth enabling ubsan (for undefined behavior) and asan (for sanitizing memory/addressing issues) by default for at least Debug builds to help catch these issues earlier.

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