OpenCloudOS-Kernel/scripts/gcc-plugins
Emese Revfy 543c37cb16 Add sancov plugin
The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call
at the start of basic blocks.

This plugin is a helper plugin for the kcov feature. It supports
all gcc versions with plugin support (from gcc-4.5 on).
It is based on the gcc commit "Add fuzzing coverage support" by Dmitry Vyukov
(https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=231296).

Signed-off-by: Emese Revfy <re.emese@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michal Marek <mmarek@suse.com>
2016-06-07 22:57:10 +02:00
..
Makefile Add sancov plugin 2016-06-07 22:57:10 +02:00
cyc_complexity_plugin.c Add Cyclomatic complexity GCC plugin 2016-06-07 22:57:10 +02:00
gcc-common.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-gimple-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-ipa-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-rtl-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-simple_ipa-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
sancov_plugin.c Add sancov plugin 2016-06-07 22:57:10 +02:00