diff options
| author | Russ Cox <rsc@golang.org> | 2014-10-28 21:53:31 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-10-28 21:53:31 -0400 |
| commit | 8fcdc70c5ebf9c8d160b85e9402e7db5f4bf0793 (patch) | |
| tree | 8cadab21060a7e9cc7b79b10aea00ced0ec2c34e /src/runtime/runtime.h | |
| parent | c4efaac15daac5e15092532dcc7ca9c30a0e0fbc (diff) | |
| download | go-8fcdc70c5ebf9c8d160b85e9402e7db5f4bf0793.tar.xz | |
runtime: add GODEBUG invalidptr setting
Fixes #8861.
Fixes #8911.
LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/165780043
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index a84a32525e..2a60740063 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -657,6 +657,8 @@ enum { byte* runtime·startup_random_data; uint32 runtime·startup_random_data_len; +int32 runtime·invalidptr; + enum { // hashinit wants this many random bytes HashRandomBytes = 32 |
