]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, runtime: add checkptr instrumentation for unsafe.Add
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 29 Jul 2025 11:45:23 +0000 (18:45 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 5 Aug 2025 15:28:50 +0000 (08:28 -0700)
commit5ab9f23977694ab87614fd30e081d294eb313efd
tree3702479ac75143397f09baa0c3fcdfa63231f146
parentfcc036f03b07e58f76ed94bc9a9483ddef96f81c
cmd/compile, runtime: add checkptr instrumentation for unsafe.Add

Fixes #74431

Change-Id: Id651ea0b82599ccaff8816af0a56ddbb149b6f89
Reviewed-on: https://go-review.googlesource.com/c/go/+/692015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/compile/internal/walk/expr.go
src/runtime/checkptr_test.go
src/runtime/testdata/testprog/checkptr.go