Commit 603fd368 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Add UBSAN visibility and tighten ASAN up

LSAN is still disabled for now.
parent 5675aca1
...@@ -37,7 +37,8 @@ before_install: ...@@ -37,7 +37,8 @@ before_install:
sudo apt-get install -y clang-4.0; sudo apt-get install -y clang-4.0;
export CC="clang-4.0"; export CC="clang-4.0";
export CONFIGURE_ARGS="--enable-asan --enable-ubsan"; 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";
fi fi
- ./autogen.sh - ./autogen.sh
- ./configure ${CONFIGURE_ARGS} - ./configure ${CONFIGURE_ARGS}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment