Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1377110

Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure
Date 2016-04-12 20:30 +0200
Message-ID <rnbez-3s3-19@gated-at.bofh.it> (permalink)
References <rlpvj-1uc-3@gated-at.bofh.it> <rnaBQ-2QL-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 12, 2016 at 10:46 AM, David Brown <david.brown@linaro.org> wrote:
> On Thu, Apr 07, 2016 at 11:10:23PM +0200, Emese Revfy 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 and arm64 architectures
>> enables plugins.
>>
>> This infrastructure was ported from grsecurity/PaX. It is a CII project
>> supported by the Linux Foundation.
>>
>> Emese Revfy (6):
>> Shared library support
>> GCC plugin infrastructure
>> The GCC plugin infrastructure supports the arm and arm64 architectures too
>> Add Cyclomatic complexity plugin
>> Documentations of the GCC plugin infrastructre
>> Add sancov plugin
>
>
> I've tested the v6 patches on arm, and partially on arm64.  The arm64
> gcc has a bug in make install that doesn't install all necessary
> headers to build plugins.  I believe the patch will work once that
> version gets out.  It does, however, print a helpful message now
> explaining the likely cause of the failure.
>
> Tested-by: David Brown <david.brown@linaro.org>

Awesome! Thanks for testing this. I still need to finish getting my
arm64 environment built...

Do you happen to know if there's already a gcc bug open for the make
install problem?

Masahiro and Michal, does this series look good to you? I'd really
like to get this into -next for wider testing.

Emese, were you thinking of doing the initify plugin next after this
infrastructure lands?

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/6] Introduce GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-04-07 23:20 +0200
  [PATCH v6 3/6] The GCC plugin infrastructure supports the arm and  arm64 architectures too Emese Revfy <re.emese@gmail.com> - 2016-04-07 23:20 +0200
  [PATCH v6 4/6] Add Cyclomatic complexity GCC plugin Emese Revfy <re.emese@gmail.com> - 2016-04-07 23:20 +0200
  [PATCH v6 6/6] Add sancov plugin Emese Revfy <re.emese@gmail.com> - 2016-04-07 23:30 +0200
  [PATCH v6 5/6] Documentation for the GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-04-07 23:30 +0200
  Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure David Brown <david.brown@linaro.org> - 2016-04-12 19:50 +0200
    Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure Kees Cook <keescook@chromium.org> - 2016-04-12 20:30 +0200
      Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure David Brown <david.brown@linaro.org> - 2016-04-12 20:50 +0200
        Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure Kees Cook <keescook@chromium.org> - 2016-04-12 21:50 +0200
          Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure "PaX Team" <pageexec@freemail.hu> - 2016-04-12 23:30 +0200
      Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure Emese Revfy <re.emese@gmail.com> - 2016-04-12 21:00 +0200
        Re: [PATCH v6 0/6] Introduce GCC plugin infrastructure Kees Cook <keescook@chromium.org> - 2016-04-12 21:50 +0200
  Re: [PATCH v6 2/6] GCC plugin infrastructure Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-13 04:40 +0200

csiph-web