Add a new target for AddressSanitizer as extra credit
Open
enhancement
help wanted
- Dominant language
- C++
- Stars
- 290
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
One of the things we do in the C track is have a separate compilation target for validating memory accesses, which we do using AddressSanitizer. We should implement a similar check here by adding a new target into each exercise's CMakeLists to run the tests under ASan, and document that to describe it as extra credit for the students in the 'Running the Tests' doc page.
Possibly add a build with MemorySanitizer as well to track uninitialized reads, but ASan is generally more useful.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.