Skip to content

Introduce sanitizer options and run with sanitizer on Linux/macOS#117

Open
ngie-eign wants to merge 1 commit intofreebsd:masterfrom
ngie-eign:add-sanitizer-gh-actions
Open

Introduce sanitizer options and run with sanitizer on Linux/macOS#117
ngie-eign wants to merge 1 commit intofreebsd:masterfrom
ngie-eign:add-sanitizer-gh-actions

Conversation

@ngie-eign
Copy link
Contributor

@ngie-eign ngie-eign commented Dec 29, 2025

Clang has excellent sanitizers, that are very well supported under macOS and Linux. Add AddressSanitizer, LeakSanitizer and UndefinedBehaviourSanitizer configure options to pass the appropriate flags to ${CC}, ${CXX}, etc.

Introduce GH action to run the tests with the sanitizers enabled.

@ngie-eign ngie-eign force-pushed the add-sanitizer-gh-actions branch 21 times, most recently from 5549657 to e1aebfd Compare December 30, 2025 09:28
Clang has excellent sanitizers, that are very well supported under
MacOS and Linux. Add AddressSanitizer, LeakSanitizer and
UndefinedBehaviourSanitizer configure options to pass the appropriate
flags to ${CC}, ${CXX}, etc.

Introduce GH action to run the tests with the sanitizers enabled.

Co-Authored-By: Enji Cooper <ngie@FreeBSD.org>
@ngie-eign ngie-eign force-pushed the add-sanitizer-gh-actions branch from e1aebfd to 04609a7 Compare January 3, 2026 06:15
@ngie-eign ngie-eign changed the title Introduce sanitizer options and run with sanitizer on Linux/MacOS Introduce sanitizer options and run with sanitizer on Linux/macOS Feb 1, 2026
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.

1 participant