|
@@ -1,9 +1,6 @@
|
|
config ARCH_HAS_UBSAN_SANITIZE_ALL
|
|
config ARCH_HAS_UBSAN_SANITIZE_ALL
|
|
bool
|
|
bool
|
|
|
|
|
|
-config ARCH_WANTS_UBSAN_NO_NULL
|
|
|
|
- def_bool n
|
|
|
|
-
|
|
|
|
config UBSAN
|
|
config UBSAN
|
|
bool "Undefined behaviour sanity checker"
|
|
bool "Undefined behaviour sanity checker"
|
|
help
|
|
help
|
|
@@ -39,14 +36,6 @@ config UBSAN_ALIGNMENT
|
|
Enabling this option on architectures that support unaligned
|
|
Enabling this option on architectures that support unaligned
|
|
accesses may produce a lot of false positives.
|
|
accesses may produce a lot of false positives.
|
|
|
|
|
|
-config UBSAN_NULL
|
|
|
|
- bool "Enable checking of null pointers"
|
|
|
|
- depends on UBSAN
|
|
|
|
- default y if !ARCH_WANTS_UBSAN_NO_NULL
|
|
|
|
- help
|
|
|
|
- This option enables detection of memory accesses via a
|
|
|
|
- null pointer.
|
|
|
|
-
|
|
|
|
config TEST_UBSAN
|
|
config TEST_UBSAN
|
|
tristate "Module for testing for undefined behavior detection"
|
|
tristate "Module for testing for undefined behavior detection"
|
|
depends on m && UBSAN
|
|
depends on m && UBSAN
|