Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Mar 2019 23:15:53 +0100
From: Arnd Bergmann <>
To: Kees Cook <>
Cc: Ard Biesheuvel <>, 
	Linux Kernel Mailing List <>, Emese Revfy <>, 
	Alexander Popov <>, Laura Abbott <>, Jann Horn <>, 
	Alexander Potapenko <>, Kernel Hardening <>
Subject: Re: [PATCH 1/2] gcc-plugins: structleak: Generalize to all variable types

On Sat, Mar 2, 2019 at 4:43 PM Kees Cook <> wrote:
> On Sat, Mar 2, 2019 at 1:05 AM Ard Biesheuvel <> wrote:
> >
> > On Thu, 28 Feb 2019 at 21:27, Arnd Bergmann <> wrote:
> > > I get similar results with asan-stack=1 but without your plugin, only
> > > the combination of the two has the explosive stack size growth.
> I can look more closely, but I'm not sure it's entirely worth it:
> these two may not make sense to build at the same time. (e.g. the
> use-after-scope config was disallowed to work with this plugin.)

Well, I still want to make sure all 'randconfig' builds complete without
warnings, and without having to turn off the otherwise useful
stack overflow warnings.

One thing I noticed is that your patch removes the 'depends on
so if we add that back in, it would at least take care of the
allmodconfig and randconfig cases.

> > > I can help analyze this further, but maybe you can have a look first,
> > > there might be something obvious when you read the input to the
> > > plugin.
> > >
> >
> > Is this before or after use-after-scope was disabled entirely?
> I was wondering the same thing, but I assumed it didn't matter: it
> wasn't possible to use both before it was entirely disabled.

Right. I already had the use-after-scope stuff disabled for
build testing, using the same 'depends on !COMPILE_TEST'
check, so one more reason it did not make a difference.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.