build: Add option KERNEL_UBSAN
authorHauke Mehrtens <hauke.mehrtens@intel.com>
Wed, 12 Feb 2020 10:48:59 +0000 (11:48 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Feb 2020 15:34:57 +0000 (16:34 +0100)
commitd9b043c03c18e5a0e9ff5502880174ba2320a1bb
treedf7c096516122c6095f8fc36784c56e0968f318d
parentcbb6929789e6fd0f4f062a382b5a1ea0e97bf550
build: Add option KERNEL_UBSAN

The kernel Undefined Behavior Sanitizer is able to detect some memory
bugs in the kernel like out of range array accesses.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
config/Config-kernel.in
target/linux/generic/config-4.14
target/linux/generic/config-4.19