[libxml2] Run CI tests with UBSan implicit-conversion checks



commit 53983804ce7f8a9fbe2316286e74bc9f60629694
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Jan 25 03:08:22 2022 +0100

    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.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e58ebd00..2b79ed63 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]