This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/17] Outline instrumentation
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Yury Gribov <y dot gribov at samsung dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Dmitry Vyukov <dvyukov at google dot com>, Konstantin Khlebnikov <k dot khlebnikov at samsung dot com>, Andrey Ryabinin <a dot ryabinin at samsung dot com>, Viacheslav Garbuzov <v dot garbuzov at samsung dot com>
- Date: Thu, 16 Oct 2014 10:45:44 +0200
- Subject: Re: [PATCH 4/17] Outline instrumentation
- Authentication-results: sourceware.org; auth=none
- References: <543F831B dot 4090502 at samsung dot com> <543F83D1 dot 9060902 at samsung dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Oct 16, 2014 at 12:37:37PM +0400, Yury Gribov wrote:
> 4.9's Asan runtime library provides no support for these so I removed the
> tests. I've also changed default value of threshold to INT_MAX to completely
> disable outline instrumentation in userspace Asan.
> New asan-instrumentation-with-call-threshold parameter.
>
> 2014-10-15 Yury Gribov <y.gribov@samsung.com>
>
> Backport from mainline
> 2014-06-16 Yury Gribov <y.gribov@samsung.com>
>
> * asan.c (check_func): New function.
> (maybe_create_ssa_name): Likewise.
> (build_check_stmt_with_calls): Likewise.
> (use_calls_p): Likewise.
> (report_error_func): Change interface.
> (build_check_stmt): Allow non-integer lengths; add support
> for new parameter.
> (asan_instrument): Likewise.
> (instrument_mem_region_access): Moved code to
> build_check_stmt.
> (instrument_derefs): Likewise.
> (instrument_strlen_call): Likewise.
> * cfgcleanup.c (old_insns_match_p): Add support for new
> functions.
> * doc/invoke.texi: Describe new parameter.
> * params.def: Define new parameter.
> * params.h: Likewise.
> * sanitizer.def: Describe new builtins.
>
> * c-c++-common/asan/instrument-with-calls-1.c: New test.
> * c-c++-common/asan/instrument-with-calls-2.c: Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-1.c: Update
> test patterns.
> * c-c++-common/asan/no-redundant-instrumentation-2.c:
> Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-4.c:
> Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-5.c:
> Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-6.c:
> Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-7.c:
> Likewise.
> * c-c++-common/asan/no-redundant-instrumentation-8.c:
> Likewise.
Ok.
Jakub