[master] 603fd36 Add UBSAN visibility and tighten ASAN up

Federico G. Schwindt fgsch at lodoss.net
Sat Aug 19 02:21:10 CEST 2017

commit 603fd368e03613f6fdf7cc02a1af4e807bc40b74
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Aug 19 01:18:23 2017 +0100

    Add UBSAN visibility and tighten ASAN up
    LSAN is still disabled for now.

diff --git a/.travis.yml b/.travis.yml
index 088b05c..df30908 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,7 +37,8 @@ before_install:
       sudo apt-get install -y clang-4.0;
       export CC="clang-4.0";
       export CONFIGURE_ARGS="--enable-asan --enable-ubsan";
-      export ASAN_OPTIONS="detect_odr_violation=0,detect_leaks=0";
+      export ASAN_OPTIONS="detect_odr_violation=0,detect_leaks=0,abort_on_error=1";
+      export UBSAN_OPTIONS="halt_on_error=1,print_stacktrace=1";
   - ./autogen.sh
   - ./configure ${CONFIGURE_ARGS}

More information about the varnish-commit mailing list