mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Meta: Enable vptr sanitation by default for Lagom UBSAN builds
This commit is contained in:
parent
85e313077a
commit
6290a25224
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ if (ENABLE_MEMORY_SANITIZER)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_UNDEFINED_SANITIZER)
|
if (ENABLE_UNDEFINED_SANITIZER)
|
||||||
add_compile_options(-fsanitize=undefined -fno-sanitize=vptr -fno-omit-frame-pointer)
|
add_compile_options(-fsanitize=undefined -fno-omit-frame-pointer)
|
||||||
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined -fno-sanitize=vptr")
|
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_FUZZERS)
|
if (ENABLE_FUZZERS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue