]> sourceware.org Git - newlib-cygwin.git/commit
Don't sanitize linker_set
authordab <dab@FreeBSD.org>
Tue, 19 Nov 2019 14:46:28 +0000 (14:46 +0000)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 26 Oct 2020 13:18:46 +0000 (14:18 +0100)
commitb9967c3f9040c25efe0a67b59dbd05ee79d0a97d
tree2bffbde99f7208489ef21a9cb6d722e7047d97af
parentc25de3a3c51e3d27133947a3d943c2a2127445d5
Don't sanitize linker_set

The assumptions of linker_set don't play nicely with
AddressSanitizer. AddressSanitizer adds a 'redzone' of zeros around
globals (including those in named sections), whereas linker_set
assumes they are all packed consecutively like a pointer array. So:
let's annotate linker_set so that AddressSanitizer ignores it.

Submitted by: Matthew Bryan <matthew.bryan@isilon.com>
Reviewed by: kib, rang_acm.org
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22239
newlib/libc/include/sys/cdefs.h
This page took 0.029496 seconds and 5 git commands to generate.