Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - K index
The Linux kernel configuration item CONFIG_KASAN
has multiple definitions:
lib/Kconfig.kasan
The configuration item CONFIG_KASAN:
(((( CONFIG_HAVE_ARCH_KASAN && CONFIG_CC_HAS_KASAN_GENERIC ) || \) && ( CONFIG_SYSFS && ! CONFIG_SLUB_TINY )
Enables KASAN (Kernel Address Sanitizer) - a dynamic memory safety error detector designed to find out-of-bounds and use-after-free bugs.
See Documentation/dev-tools/kasan.rst for details.
For better error reports, also enable STACKTRACE.
lib/Kconfig.kasan
The configuration item CONFIG_KASAN:
(((( CONFIG_HAVE_ARCH_KASAN && CONFIG_CC_HAS_KASAN_GENERIC ) || \) && (( CONFIG_SLUB && CONFIG_SYSFS ) || ( CONFIG_SLAB && ! CONFIG_DEBUG_SLAB ))
Enables KASAN (KernelAddressSANitizer) - runtime memory debugger, designed to find out-of-bounds accesses and use-after-free bugs. See Documentation/dev-tools/kasan.rst for details.
lib/Kconfig.kasan
The configuration item CONFIG_KASAN:
( CONFIG_SLUB && CONFIG_SYSFS ) || ( CONFIG_SLAB && ! CONFIG_DEBUG_SLAB )
Enables kernel address sanitizer - runtime memory debugger, designed to find out-of-bounds accesses and use-after-free bugs. This is strictly a debugging feature and it requires a gcc version of 4.9.2 or later. Detection of out of bounds accesses to stack or global variables requires gcc 5.0 or later. This feature consumes about 1/8 of available memory and brings about ~x3 performance slowdown. For better error detection enable STACKTRACE. Currently KASAN doesn't work with DEBUG_SLAB (the resulting kernel does not boot).
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - K index
Automatically generated (in year 2024). See also LKDDb sources on GitLab