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

2017-07-04 Thread Martin Liška
On 07/04/2017 09:59 AM, Jakub Jelinek wrote: > 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

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