Kernel: Enable three missing KUBSAN options :^)

With the kernel command line issue fixed, we can now enable these
KUBSAN options without getting triple faults on startup:

* alignment
* null
* pointer-overflow
This commit is contained in:
Andreas Kling 2021-02-23 19:32:23 +01:00
parent bc029a6314
commit 06919d189b
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00

View file

@ -291,10 +291,9 @@ set(KERNEL_FSANITIZE_FLAGS
"enum"
"vptr"
"builtin"
# following flags will cause triple faults:
# "alignment"
# "null"
# "pointer-overflow"
"alignment"
"null"
"pointer-overflow"
)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")