Re: kasan: false use-after-scope warnings with KCOV

2017-11-30 Thread Mark Rutland
On Tue, Nov 28, 2017 at 06:52:32PM +0100, Dmitry Vyukov wrote: > On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > >> > > As a heads-up, I'm seeing a number of what appear to be false-positive > >> > > use-after-scope warnings when I enable both KCOV and KASAN (inline or > >> > > outline), >

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Dmitry Vyukov
On Wed, Nov 29, 2017 at 9:17 PM, Arnd Bergmann wrote: >>> > > As a heads-up, I'm seeing a number of what appear to be false-positive >>> > > use-after-scope warnings when I enable both KCOV and KASAN (inline or >>> > > outline), >>> > > when using the Linaro 17.08 GCC7.1.1 for arm64. So far I hav

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > On Tue, Nov 28, 2017 at 02:13:55PM +, Mark Rutland wrote: >> On Tue, Nov 28, 2017 at 01:57:49PM +0100, Dmitry Vyukov wrote: >> > On Tue, Nov 28, 2017 at 1:35 PM, Mark Rutland wrote: >> > > As a heads-up, I'm seeing a number of what appear

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Dmitry Vyukov
On Wed, Nov 29, 2017 at 5:54 PM, Andrey Ryabinin wrote: > On 11/28/2017 08:52 PM, Dmitry Vyukov wrote: >> On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: >> As a heads-up, I'm seeing a number of what appear to be false-positive >> use-after-scope warnings when I enable both KCOV and

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Andrey Ryabinin
On 11/28/2017 08:52 PM, Dmitry Vyukov wrote: > On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > As a heads-up, I'm seeing a number of what appear to be false-positive > use-after-scope warnings when I enable both KCOV and KASAN (inline or > outline), > when using the Linaro

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Dmitry Vyukov
On Wed, Nov 29, 2017 at 12:26 PM, Mark Rutland wrote: > On Tue, Nov 28, 2017 at 06:52:32PM +0100, Dmitry Vyukov wrote: >> On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > >> >> ... it looks suspiciously like something is setting up non-zero shadow >> >> bytes, but not zeroing them upon retu

Re: kasan: false use-after-scope warnings with KCOV

2017-11-29 Thread Mark Rutland
On Tue, Nov 28, 2017 at 06:52:32PM +0100, Dmitry Vyukov wrote: > On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: > >> ... it looks suspiciously like something is setting up non-zero shadow > >> bytes, but not zeroing them upon return. > > > > It looks like this is the case. > > > > The hack

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Dmitry Vyukov
On Tue, Nov 28, 2017 at 4:24 PM, Mark Rutland wrote: >> > > As a heads-up, I'm seeing a number of what appear to be false-positive >> > > use-after-scope warnings when I enable both KCOV and KASAN (inline or >> > > outline), >> > > when using the Linaro 17.08 GCC7.1.1 for arm64. So far I haven't

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Mark Rutland
On Tue, Nov 28, 2017 at 02:13:55PM +, Mark Rutland wrote: > On Tue, Nov 28, 2017 at 01:57:49PM +0100, Dmitry Vyukov wrote: > > On Tue, Nov 28, 2017 at 1:35 PM, Mark Rutland wrote: > > > As a heads-up, I'm seeing a number of what appear to be false-positive > > > use-after-scope warnings when I

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Mark Rutland
Hi, On Tue, Nov 28, 2017 at 04:00:49PM +0300, Andrey Ryabinin wrote: > On 11/28/2017 03:35 PM, Mark Rutland wrote: > > As a heads-up, I'm seeing a number of what appear to be > > false-positive use-after-scope warnings when I enable both KCOV and > > KASAN (inline or outline), when using the Linar

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Mark Rutland
On Tue, Nov 28, 2017 at 01:57:49PM +0100, Dmitry Vyukov wrote: > On Tue, Nov 28, 2017 at 1:35 PM, Mark Rutland wrote: > > As a heads-up, I'm seeing a number of what appear to be false-positive > > use-after-scope warnings when I enable both KCOV and KASAN (inline or > > outline), > > when using t

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Dmitry Vyukov
On Tue, Nov 28, 2017 at 1:35 PM, Mark Rutland wrote: > Hi, > > As a heads-up, I'm seeing a number of what appear to be false-positive > use-after-scope warnings when I enable both KCOV and KASAN (inline or > outline), > when using the Linaro 17.08 GCC7.1.1 for arm64. So far I haven't spotted thes

Re: kasan: false use-after-scope warnings with KCOV

2017-11-28 Thread Andrey Ryabinin
On 11/28/2017 03:35 PM, Mark Rutland wrote: > Hi, > > As a heads-up, I'm seeing a number of what appear to be false-positive > use-after-scope warnings when I enable both KCOV and KASAN (inline or > outline), > when using the Linaro 17.08 GCC7.1.1 for arm64. So far I haven't spotted these > wit