8000 Add cmake options for sanitizers: address, memory, thread, undefined by dobord · Pull Request #323 · jbaldwin/libcoro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add cmake options for sanitizers: address, memory, thread, undefined #323

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
May 24, 2025

Conversation

dobord
Copy link
Contributor
@dobord dobord commented May 24, 2025

By using each cmake option separately, you can get information about detected problems such as incorrect memory usage, race conditions, use of uninitialized memory, etc.
Using sanitizers in tests can significantly improve the verification of the correctness of the source code.
The use of sanitizers is only allowed at the development and testing stage, i.e. do not enable sanitizers in release versions and production

@jbaldwin jbaldwin merged commit 7268432 into jbaldwin:main May 24, 2025
41 checks passed
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.

2 participants
0