This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add no_sanitize_address attribute (PR sanitizer/56454)
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Feb 2013 22:17:21 +0100
- Subject: Re: [PATCH] Add no_sanitize_address attribute (PR sanitizer/56454)
- References: <20130228201551.GZ12913@tucnak.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
> Jakub Jelinek <jakub@redhat.com>
>
> PR sanitizer/56454
> * asan.c (gate_asan): Lookup no_sanitize_address instead of
> no_address_safety_analysis attribute.
> * doc/extend.texi (no_address_safety_attribute): Rename to
> no_sanitize_address attribute, mention no_address_safety_analysis
> attribute as deprecated alias.
>
> * c-common.c (handle_no_sanitize_address_attribute): New function.
> (c_common_attribute_table): Add no_sanitize_address attribute.
> (handle_no_address_safety_analysis_attribute): Add
> no_sanitize_address attribute, not no_address_safety_analysis
> attribute.
>
> * g++.dg/asan/default-options-1.C (__asan_default_options): Use
> no_sanitize_address attribute rather than no_address_safety_analysis.
> * g++.dg/asan/sanitizer_test_utils.h
> (ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS): Likewise.
> * c-c++-common/asan/attrib-1.c: Test no_sanitize_address attribute
> in addition to no_address_safety_analysis.
This OK, thanks.
--
Dodji