From: George Popescu <georgepope@xxxxxxxxxx> Enable configs from Kconfig.ubsan to test the buffer and the ubsan_handlers. Signed-off-by: George Popescu <georgepope@xxxxxxxxxx> --- lib/Kconfig.ubsan | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan index 774315de555a..f72b8a564a8c 100644 --- a/lib/Kconfig.ubsan +++ b/lib/Kconfig.ubsan @@ -1,9 +1,11 @@ # SPDX-License-Identifier: GPL-2.0-only config ARCH_HAS_UBSAN_SANITIZE_ALL bool + default y menuconfig UBSAN bool "Undefined behaviour sanity checker" + default y help This option enables the Undefined Behaviour sanity checker. Compile-time instrumentation is used to detect various undefined @@ -82,7 +84,8 @@ config UBSAN_ALIGNMENT config TEST_UBSAN tristate "Module for testing for undefined behavior detection" - depends on m + depends on UBSAN + default m help This is a test module for UBSAN. It triggers various undefined behavior, and detect it. -- 2.28.0.618.gf4bc123cb7-goog _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm