mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-19 10:03:34 +03:00
Run CI tests with UBSan implicit-conversion checks
This enables the remaining checks from the "integer" group: - implicit-unsigned-integer-truncation - implicit-signed-integer-truncation - implicit-integer-sign-change These checks can find all kinds of bugs and only require explicit casts if integer truncation or sign change is really intended.
This commit is contained in:
parent
a647e43025
commit
53983804ce
@ -41,7 +41,7 @@ clang:asan:
|
||||
variables:
|
||||
CONFIG: "--without-python"
|
||||
CC: clang
|
||||
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined,unsigned-integer-overflow -fno-sanitize-recover=all -Wno-error=cast-align"
|
||||
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined,integer -fno-sanitize-recover=all -Wno-error=cast-align"
|
||||
# LeakSanitizer requires SYS_CAP_PTRACE
|
||||
ASAN_OPTIONS: "detect_leaks=0"
|
||||
UBSAN_OPTIONS: "print_stacktrace=1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user