1
0
mirror of https://github.com/golang/go synced 2024-11-07 23:16:14 -07:00
go/misc/cgo/testsanitizers/src
Ian Lance Taylor e2f8766c30 cmd/cgo: mark C result as written for msan
Otherwise it is possible that msan will consider the C result to be
partially initialized, which may cause msan to think that the Go stack
is partially uninitialized. The compiler will never mark the stack as
initialized, so without this CL it is possible for stack addresses to
be passed to msanread, which will cause a false positive error from msan.

Fixes #26209

Change-Id: I43a502beefd626eb810ffd8753e269a55dff8248
Reviewed-on: https://go-review.googlesource.com/122196
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-07-05 05:15:15 +00:00
..
msan2_cmsan.go
msan2.go
msan3.go
msan4.go
msan5.go
msan6.go
msan_fail.go
msan_shared.go
msan.go
tsan2.go
tsan3.go
tsan4.go
tsan5.go
tsan6.go
tsan7.go
tsan8.go
tsan9.go
tsan10.go
tsan11.go
tsan12.go
tsan_shared.go
tsan.go