Enable vptr undefined behavior check

This commit is contained in:
Tim Wojtulewicz 2022-04-20 17:18:57 -07:00
parent 5dbc5dbed2
commit c6023774a3

View file

@ -187,7 +187,7 @@ if ( ZEEK_SANITIZERS )
list(APPEND _check_list "unreachable")
# list(APPEND _check_list "unsigned-integer-overflow") # Not truly UB
list(APPEND _check_list "vla-bound")
# list(APPEND _check_list "vptr") # TODO: fix associated errors
list(APPEND _check_list "vptr")
# Clang complains if this one is defined and the optimizer is set to -O0. We
# only set that optimization level if NO_OPTIMIZATIONS is passed, so disable