diff options
Diffstat (limited to 'lib/Kconfig.ubsan')
-rw-r--r-- | lib/Kconfig.ubsan | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan index 49518fb48cab..e07c1ba9ba13 100644 --- a/lib/Kconfig.ubsan +++ b/lib/Kconfig.ubsan | |||
@@ -18,6 +18,8 @@ config UBSAN_SANITIZE_ALL | |||
18 | This option activates instrumentation for the entire kernel. | 18 | This option activates instrumentation for the entire kernel. |
19 | If you don't enable this option, you have to explicitly specify | 19 | If you don't enable this option, you have to explicitly specify |
20 | UBSAN_SANITIZE := y for the files/directories you want to check for UB. | 20 | UBSAN_SANITIZE := y for the files/directories you want to check for UB. |
21 | Enabling this option will get kernel image size increased | ||
22 | significantly. | ||
21 | 23 | ||
22 | config UBSAN_ALIGNMENT | 24 | config UBSAN_ALIGNMENT |
23 | bool "Enable checking of pointers alignment" | 25 | bool "Enable checking of pointers alignment" |
@@ -25,5 +27,5 @@ config UBSAN_ALIGNMENT | |||
25 | default y if !HAVE_EFFICIENT_UNALIGNED_ACCESS | 27 | default y if !HAVE_EFFICIENT_UNALIGNED_ACCESS |
26 | help | 28 | help |
27 | This option enables detection of unaligned memory accesses. | 29 | This option enables detection of unaligned memory accesses. |
28 | Enabling this option on architectures that support unalligned | 30 | Enabling this option on architectures that support unaligned |
29 | accesses may produce a lot of false positives. | 31 | accesses may produce a lot of false positives. |