Re: [PATCH v9 0/4] Introduce GCC plugin infrastructure

From: Kees Cook
Date: Wed May 25 2016 - 13:12:30 EST


On Wed, May 25, 2016 at 3:46 AM, Michal Marek <mmarek@xxxxxxxx> wrote:
> On 2016-05-24 19:04, Kees Cook wrote:
>> On Mon, May 23, 2016 at 3:07 PM, Emese Revfy <re.emese@xxxxxxxxx> wrote:
>>> This patch set introduce the GCC plugin infrastructure with examples for testing
>>> and documentation.
>>>
>>> GCC plugins are loadable modules that provide extra features to the compiler.
>>> They are useful for runtime instrumentation and static analysis.
>>>
>>> The infrastructure supports all gcc versions from 4.5 to 6.0, building
>>> out-of-tree modules and building in a separate directory. Cross-compilation
>>> is supported too but currently only the x86, arm, arm64 and uml architectures enable plugins.
>>>
>>> This infrastructure was ported from grsecurity/PaX. Based on work created by the PaX Team.
>>> It is a CII project supported by the Linux Foundation.
>>>
>>> Emese Revfy (4):
>>> Shared library support
>>> GCC plugin infrastructure
>>> Add Cyclomatic complexity plugin
>>> Add sancov plugin
>>
>> Michal, once -rc1 is out, can you carry this for -next?
>
> Yes.

Awesome! Please consider it:

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

If it's any help, I have it in my tree here:

http://git.kernel.org/cgit/linux/kernel/git/kees/linux.git/log/?h=kspp/gcc-plugins/infrastructure

Thanks!

-Kees

--
Kees Cook
Chrome OS & Brillo Security