Skip to content

Commit

Permalink
Add ubsan to the asan CI check.
Browse files Browse the repository at this point in the history
We already have address sanitizer, so add "undefined" into the mix.
  • Loading branch information
jkbonfield committed Jul 18, 2024
1 parent f8016c0 commit c965208
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ ubuntu_task:
DO_UNTRACKED_FILE_CHECK: yes
- environment:
USE_CONFIG: yes
CFLAGS: -g -Wall -O3
CFLAGS: -g -Wall -O3 -fsanitize=undefined
USE_LIBDEFLATE: yes
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1

# NB: we could consider building a docker image with these
# preinstalled and specifying that instead, to speed up testing.
Expand Down

0 comments on commit c965208

Please sign in to comment.