1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:37:34 +00:00

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

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")