Lines Matching +full:1 +full:- +full:based
1 # SPDX-License-Identifier: GPL-2.0-only
23 def_bool $(cc-option, -fsanitize=kernel-address)
26 def_bool $(cc-option, -fsanitize=kernel-hwaddress)
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.
58 1. Generic KASAN (supported by many architectures, enabled with
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.
79 Consumes about 1/8th of available memory at kernel start and adds an
86 bool "Software Tag-Based KASAN"
92 Enables Software Tag-Based KASAN.
98 Consumes about 1/16th of available memory at kernel start and
107 bool "Hardware Tag-Based KASAN"
111 Enables Hardware Tag-Based KASAN.
118 Consumes about 1/32nd of available memory.
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.