| commit | e03937a2566c845c0498ca0b0133531bcb4db502 | [log] [tgz] |
|---|---|---|
| author | Kees Cook <keescook@chromium.org> | Tue Aug 30 15:24:40 2016 -0700 |
| committer | Kees Cook <keescook@chromium.org> | Wed Apr 05 21:07:14 2017 -0700 |
| tree | 2ac8e0d29d140454c3258e705757751726d11e41 | |
| parent | 60430b4d3b113aae4adab66f8339074986276474 [diff] |
gcc-plugins: Add constify plugin This is a port of the PaX/grsecurity constify plugin. However, it has the automatic function-pointer struct detection temporarily disabled. As a result, this will only recognize the __do_const annotation, which makes all instances of a marked structure read-only. The rare_write() infrastructure can be used to make changes to such variables. Signed-off-by: Kees Cook <keescook@chromium.org>