1
0
mirror of https://github.com/golang/go synced 2024-11-05 23:26:18 -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 all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
err2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
err3.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue7757.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue8442.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue11097a.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue11097b.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13129.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13423.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13635.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
issue13830.go cmd/cgo: use function arg type for _cgoCheckPointerN function 2016-06-09 16:02:03 +00:00
issue14669.go cmd/cgo: remove -O options when generating compiler errors 2016-05-27 01:40:30 +00:00
issue16116.go cmd/cgo: error, not panic, if not enough arguments to function 2016-06-21 04:32:04 +00:00
issue16591.go cmd/cgo: always use a function literal for pointer checking 2016-10-19 21:20:50 +00:00
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