aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2025-05-03 18:46:20 +0000
committerKees Cook <[email protected]>2025-05-08 16:42:06 +0000
commit11bb1678e249e51cd748e8f91e5241b3ce71da3a (patch)
treee537068b8ea9df65fe6ca1f7c85af1c7cdada40a /scripts/gcc-plugins/randomize_layout_plugin.c
parentrandstruct: Force full rebuild when seed changes (diff)
downloadkernel-11bb1678e249e51cd748e8f91e5241b3ce71da3a.tar.gz
kernel-11bb1678e249e51cd748e8f91e5241b3ce71da3a.zip
integer-wrap: Force full rebuild when .scl file changes
Since the integer wrapping sanitizer's behavior depends on its associated .scl file, we must force a full rebuild if the file changes. If not, instrumentation may differ between targets based on when they were built. Generate a new header file, integer-wrap.h, any time the Clang .scl file changes. Include the header file in compiler-version.h when its associated feature name, INTEGER_WRAP, is defined. This will be picked up by fixdep and force rebuilds where needed. Acked-by: Justin Stitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Nicolas Schier <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions