1
0
mirror of https://github.com/golang/go synced 2024-11-06 23:36:11 -07:00
go/misc/cgo/testsanitizers/testdata
fanzha02 2c58bb2e42 src/runtime: mark asanread and asanwrite functions as NOSPLIT
The asan runtime functions may run on stacks that cannot grow, and
they do not have large local variables, so it is safe to mark them
as NOSPLIT.

Add test case.

Fixes #50391

Change-Id: Iadcbf1ae0c837d9b64da5be208c7f424e6ba11de
Reviewed-on: https://go-review.googlesource.com/c/go/+/374398
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Fannie Zhang <Fannie.Zhang@arm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-01-05 09:50:29 +00:00
..
asan1_fail.go runtime: fix the issue that the -asan option cannot print where the error occurred 2021-12-29 04:10:07 +00:00
asan2_fail.go runtime: fix the issue that the -asan option cannot print where the error occurred 2021-12-29 04:10:07 +00:00
asan3_fail.go cmd/dist: add asan tests in misc/cgo/testsanitizers package 2021-11-02 06:21:44 +00:00
asan4_fail.go cmd/dist: add asan tests in misc/cgo/testsanitizers package 2021-11-02 06:21:44 +00:00
asan5_fail.go src/runtime: mark asanread and asanwrite functions as NOSPLIT 2022-01-05 09:50:29 +00:00
asan_useAfterReturn.go cmd/dist: add asan tests in misc/cgo/testsanitizers package 2021-11-02 06:21:44 +00:00
msan2_cmsan.go
msan2.go
msan3.go
msan4.go
msan5.go
msan6.go
msan7.go
msan8.go runtime/cgo: when using msan explicitly unpoison cgoCallers 2021-08-09 14:48:39 +00:00
msan_fail.go
msan_shared.go
msan.go
tsan2.go
tsan3.go
tsan4.go
tsan5.go
tsan6.go
tsan7.go
tsan8.go
tsan9.go all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
tsan10.go
tsan11.go
tsan12.go
tsan_shared.go
tsan.go