diff options
| author | Fannie Zhang <fannie.zhang@arm.com> | 2021-01-06 08:57:44 +0000 |
|---|---|---|
| committer | fannie zhang <Fannie.Zhang@arm.com> | 2021-10-26 01:18:46 +0000 |
| commit | 49fda9e4f5cd3a05fd5fa0b3a2047a9d24873bd6 (patch) | |
| tree | 37f1363f345aac34e290e746bf130bb54588eb5e /src/encoding/json | |
| parent | 41f74079a982dae05da1860a5f195ac08d067bdd (diff) | |
| download | go-49fda9e4f5cd3a05fd5fa0b3a2047a9d24873bd6.tar.xz | |
cmd/go: add -asan option
The -asan option compiles Go code to use the address sanitizer. This is
intended for use when linking with C/C++ code compiled with -fsanitize=address.
When memory blocks are passed back and forth between C/C++ and Go, code in
both languages will agree as to whether the memory is validly allocated or not,
and will report errors for any use of invalid memory.
Updates #44853.
Change-Id: I0209002ef795cc1c823daae557fb80c906158db3
Reviewed-on: https://go-review.googlesource.com/c/go/+/298612
Trust: fannie zhang <Fannie.Zhang@arm.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
