Re: [PATCH] Enable addressable params sanitization with --param asan-stack=1.

2017-07-04 Thread Martin Liška
Jakub > Using DECL_IGNORED_P works for me. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. I'm going to install the patch. Martin >From 20d69fbf4076add09df363ffb9d03cd243f8190d Mon Sep 17 00:00:00 2001 From: marxin Date: Tue, 4 Jul 2017

Re: [PATCH] Enable addressable params sanitization with --param asan-stack=1.

2017-07-04 Thread Jakub Jelinek
On Tue, Jul 04, 2017 at 09:47:29AM +0200, Martin Liška wrote: > As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81040#c15, the > sanitization is > done only when one uses use-after-scope. That's caused by fact that I > decorated the newly > created auto variables with DECL_ARTIFICIAL

[PATCH] Enable addressable params sanitization with --param asan-stack=1.

2017-07-04 Thread Martin Liška
Thanks, Martin >From b79133e3c9ad41b44f0a12c574fc1d0b8348ad89 Mon Sep 17 00:00:00 2001 From: marxin Date: Tue, 4 Jul 2017 09:22:23 +0200 Subject: [PATCH] Enable addressable params sanitization with --param asan-stack=1. gcc/ChangeLog: 2017-07-04 Martin Liska PR sanitizer/81040 * sanopt.c (sanitize_re