Lines Matching +full:level +full:- +full:detect
1 # SPDX-License-Identifier: GPL-2.0-only
13 def_bool $(cc-option, -fsanitize=kernel-address)
16 def_bool $(cc-option, -fsanitize=kernel-hwaddress)
28 Enables KASAN (KernelAddressSANitizer) - runtime memory debugger,
29 designed to find out-of-bounds accesses and use-after-free bugs.
30 See Documentation/dev-tools/kasan.rst for details.
40 software tag-based KASAN (a version based on software memory
44 Both generic and tag-based KASAN are strictly debugging features.
58 but detection of out-of-bounds accesses for global variables is
71 bool "Software tag-based mode"
78 Enables software tag-based KASAN mode.
125 Disabling asan-stack makes it safe to run kernels build
126 with clang-8 with KASAN enabled, though it loses some of
128 This feature is always disabled when compile-testing with clang
140 bool "KASan: use 4-level paging"
143 Compiling the kernel with KASan disables automatic 3-level vs
144 4-level paging selection. 3-level paging is used by default (up
146 4-level paging instead.
152 This option enables best-effort identification of bug type
153 (use-after-free or out-of-bounds) at the cost of increased
160 By default, the shadow region for vmalloc space is the read-only
161 zero page. This means that KASAN cannot detect errors involving
166 for KASAN to detect more sorts of errors (and to support vmapped
170 tristate "KUnit-compatible tests of KASAN bug detection capabilities" if !KUNIT_ALL_TESTS
179 to the KUnit documentation in Documentation/dev-tools/kunit
182 tristate "KUnit-incompatible tests of KASAN bug detection capabilities"