Lines Matching +full:detector +full:- +full:enable
1 # SPDX-License-Identifier: GPL-2.0-only
23 def_bool $(cc-option, -fsanitize=kernel-address)
26 def_bool $(cc-option, -fsanitize=kernel-hwaddress)
35 bool "KASAN: dynamic memory safety error detector"
43 Enables KASAN (Kernel Address Sanitizer) - a dynamic memory safety
44 error detector designed to find out-of-bounds and use-after-free bugs.
46 See Documentation/dev-tools/kasan.rst for details.
48 For better error reports, also enable CONFIG_STACKTRACE.
60 2. Software Tag-Based KASAN (arm64 only, based on software memory
63 3. Hardware Tag-Based KASAN (arm64 only, based on hardware memory
66 See Documentation/dev-tools/kasan.rst for details about each mode.
86 bool "Software Tag-Based KASAN"
92 Enables Software Tag-Based KASAN.
107 bool "Hardware Tag-Based KASAN"
111 Enables Hardware Tag-Based KASAN.
154 out-of-bounds bugs in stack variables.
160 This option is always disabled when compile-testing with Clang to
167 as well, as it adds inline-style instrumentation that is run
179 With Hardware Tag-Based KASAN, only non-executable VM_ALLOC mappings
183 tristate "KUnit-compatible tests of KASAN bug detection capabilities" if !KUNIT_ALL_TESTS
187 A KUnit-based KASAN test suite. Triggers different kinds of
188 out-of-bounds and use-after-free accesses. Useful for testing whether
192 to the KUnit documentation in Documentation/dev-tools/kunit/.
195 tristate "KUnit-incompatible tests of KASAN bug detection capabilities"
199 Incompatible with Hardware Tag-Based KASAN.