Kernel: Use the Kernel UBSanitizer implementation in the aarch64 Kernel

Now we actually print useful information when an UBSAN fault is
detected. :^)
This commit is contained in:
Timon Kruiper 2022-05-10 00:31:51 +02:00 committed by Linus Groh
parent 1f3977b303
commit 4db44c09a4
Notes: sideshowbarker 2024-07-17 10:56:00 +09:00

View file

@ -397,9 +397,7 @@ if (NOT "${SERENITY_ARCH}" STREQUAL "aarch64")
${CRYPTO_SOURCES}
)
else()
set(PREKERNEL_SOURCES
Prekernel/UBSanitizer.cpp
)
set(PREKERNEL_SOURCES)
set(RPI_SOURCES
Arch/aarch64/RPi/Framebuffer.cpp
Arch/aarch64/RPi/GPIO.cpp
@ -434,6 +432,7 @@ else()
# Files from base Kernel
KSyms.cpp
MiniStdLib.cpp
UBSanitizer.cpp
Memory/AddressSpace.cpp
Memory/AnonymousVMObject.cpp