exercism / exercism/cpp

Add a new target for AddressSanitizer as extra credit

Ouverte
#275 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement help wanted
Langage dominant
C++
Étoiles
290
Forks
244
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.