common: add generic CONFIG_KASAN option
-fsanitize=[kernel-]address-sanitizer allows compile-time instrumentation
of memory accesses to detect some classes of runtime undefined behavior.

In preparation for allowing arches to provide infrastructure in support
of this feature, add the generic KASAN options.

These are only shown in the debug menu when the arch selects the
appropriate symbol. The option is named equally to their Linux counterparts.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 919d4a4 commit 9bc174167070d358f126631ad407050767a12792
@Ahmad Fatoum Ahmad Fatoum authored on 27 Aug 2019
Sascha Hauer committed on 9 Sep 2019
Showing 1 changed file
View
common/Kconfig