1
0
mirror of https://github.com/golang/go synced 2024-11-26 22:11:25 -07:00
go/misc/cgo/errors
Alexander Menzhinsky 2463a49ebb cmd/cgo: reject references to builtin functions other than calls
Here we restrict using cgo builtin references because internally they're go functions
as opposed to C usafe.Pointer values.

Fixes #18889

Change-Id: I1e4332e4884063ccbaf9772c172d4462ec8f3d13
Reviewed-on: https://go-review.googlesource.com/40934
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-18 22:14:43 +00:00
..
err1.go
err2.go
err3.go
issue7757.go
issue8442.go
issue11097a.go
issue11097b.go
issue13129.go
issue13423.go
issue13635.go
issue13830.go
issue14669.go
issue16116.go
issue16591.go
issue18889.go cmd/cgo: reject references to builtin functions other than calls 2017-04-18 22:14:43 +00:00
malloc.go misc/cgo/errors: fix malloc test for dragonfly 2016-10-25 20:11:50 +00:00
ptr.go cmd/cgo: run cgo pointer checks for pointer to union 2016-11-15 17:10:52 +00:00
test.bash cmd/cgo: reject references to builtin functions other than calls 2017-04-18 22:14:43 +00:00