[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzNTU9-exJ6kkMzUjJ4AL4GGBn0ghtZzSPC+sRwzVe6cQ@mail.gmail.com>
Date: Wed, 5 Jul 2017 15:39:02 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc: Arnd Bergmann <arnd@...db.de>, Kees Cook <keescook@...omium.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jean Delvare <jdelvare@...e.de>
Subject: Re: [GIT PULL] gcc-plugins updates for v4.13-rc1
On Wed, Jul 5, 2017 at 3:27 PM, Ard Biesheuvel
<ard.biesheuvel@...aro.org> wrote:
>
> The compiler already keeps track of which auto variables have their
> address taken, so it shouldn't be /that/ hard to come up with a plugin
> that zero initializes such variables before their address is taken if
> no such initialization is included in the code.
Yeah. Except one of the issues with the plugin stuff is that people
probably don't do any of this normally.
I suspect it would be a really nice *general* gcc extension..
Linus
Powered by blists - more mailing lists