diff options
| author | Kees Cook <[email protected]> | 2024-01-24 00:32:54 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-02-06 10:21:38 +0000 |
| commit | 167ebeda36fae4bb47ace32bcacecde7d24d2850 (patch) | |
| tree | 51d004541f34a9a83f9ba6b5071f4584a07fdf24 /lib/string_helpers.c | |
| parent | MAINTAINERS: Add UBSAN section (diff) | |
| download | kernel-167ebeda36fae4bb47ace32bcacecde7d24d2850.tar.gz kernel-167ebeda36fae4bb47ace32bcacecde7d24d2850.zip | |
ubsan: Use Clang's -fsanitize-trap=undefined option
Clang changed the way it enables UBSan trapping mode. Update the Makefile
logic to discover it.
Suggested-by: Fangrui Song <[email protected]>
Link: https://lore.kernel.org/lkml/CAFP8O3JivZh+AAV7N90Nk7U2BHRNST6MRP0zHtfQ-Vj0m4+pDA@mail.gmail.com/
Reviewed-by: Fangrui Song <[email protected]>
Reviewed-by: Justin Stitt <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Bill Wendling <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
