From d75de0a4f16351f8c3f14d7fa9af4e605b927bca Mon Sep 17 00:00:00 2001 From: James Bonfield Date: Thu, 18 Jul 2024 14:59:31 +0100 Subject: [PATCH] Add ubsan to the asan CI check. We already have address sanitizer, so add "undefined" into the mix. --- .cirrus.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5d2e3b6a73..baa624a004 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -73,9 +73,10 @@ gcc_task: USE_CONFIG: no - environment: USE_CONFIG: yes - CFLAGS: -std=c99 -pedantic -Wformat=2 -fsanitize=address - LDFLAGS: -fsanitize=address + CFLAGS: -std=c99 -pedantic -Wformat=2 -fsanitize=address,undefined + LDFLAGS: -fsanitize=address,undefined USE_LIBDEFLATE: yes + UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1 install_script: | apt-get update