1
0
mirror of https://github.com/golang/go synced 2024-11-17 18:04:48 -07:00
go/misc/cgo/testsanitizers
Ian Lance Taylor 7aeaad5c86 runtime/cgo: when using msan explicitly unpoison cgoCallers
This avoids an incorrect msan uninitialized memory report when using
runtime.SetCgoTraceback when a signal occurs while the fifth argument
register is undefined. See the issue for more details.

Fixes #47543

Change-Id: I3d1b673e2c93471ccdae0171a99b88b5a6062840
Reviewed-on: https://go-review.googlesource.com/c/go/+/339902
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2021-08-09 14:48:39 +00:00
..
testdata runtime/cgo: when using msan explicitly unpoison cgoCallers 2021-08-09 14:48:39 +00:00
cc_test.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
cshared_test.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
msan_test.go runtime/cgo: when using msan explicitly unpoison cgoCallers 2021-08-09 14:48:39 +00:00
tsan_test.go runtime: save/restore callee saved registers in arm64's sigtramp 2019-06-03 19:02:11 +00:00