]> Cypherpunks repositories - gostls13.git/commit
internal/msan: add new package
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Fri, 16 Feb 2024 23:24:12 +0000 (23:24 +0000)
committerCherry Mui <cherryyz@google.com>
Tue, 20 Feb 2024 20:50:21 +0000 (20:50 +0000)
commite1e466f80c96020ced38830d848f9f568e69ab1a
treee77a3f5f765184ae7f0ef2f1ee0e9129e9b42637
parent4ce008d7d35237a40619e24d0d045bdcb3752cd3
internal/msan: add new package

The internal/msan package contains helper functions for manually
instrumenting code for the memory sanitizer. It exports the private
msan routines in runtime unconditionally, making the functions a
no-op if the build flag "msan" is not present.

For #64611

Change-Id: If43f29e112ac79a47083c9dbdf2c61a0641e80b1
GitHub-Last-Rev: 0a644bd6f10a9052c33992f1c56b1f0037ca98c7
GitHub-Pull-Request: golang/go#64637
Reviewed-on: https://go-review.googlesource.com/c/go/+/548676
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/go/build/deps_test.go
src/internal/msan/doc.go [new file with mode: 0644]
src/internal/msan/msan.go [new file with mode: 0644]
src/internal/msan/nomsan.go [new file with mode: 0644]
src/runtime/msan.go