1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:47: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" "enum"
"vptr" "vptr"
"builtin" "builtin"
# following flags will cause triple faults: "alignment"
# "alignment" "null"
# "null" "pointer-overflow"
# "pointer-overflow"
) )
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")