diff options
author | Kees Cook <keescook@chromium.org> | 2023-04-05 05:23:59 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2023-05-16 23:57:14 +0300 |
commit | 2d47c6956ab3c8b580a59d7704aab3e2a4882b6c (patch) | |
tree | a7ba0b39fcc87447ba745221e110aed69f62d680 /samples | |
parent | f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff) | |
download | linux-2d47c6956ab3c8b580a59d7704aab3e2a4882b6c.tar.xz |
ubsan: Tighten UBSAN_BOUNDS on GCC
The use of -fsanitize=bounds on GCC will ignore some trailing arrays,
leaving a gap in coverage. Switch to using -fsanitize=bounds-strict to
match Clang's stricter behavior.
Cc: Marco Elver <elver@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Nicolas Schier <nicolas@fjasle.eu>
Cc: Tom Rix <trix@redhat.com>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Miroslav Benes <mbenes@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Cc: llvm@lists.linux.dev
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230405022356.gonna.338-kees@kernel.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions