exercism / exercism/cpp

Add a new target for AddressSanitizer as extra credit

未关闭
#275 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
C++
星标
290
派生
244
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。