comparison .travis.yml @ 1749:32307118bc26

Add ubsan fuzz run to Travis CI too
author Matt Johnston <matt@ucc.asn.au>
date Mon, 19 Oct 2020 23:38:11 +0800
parents f9ad4d39e388
children f78e67527731
comparison
equal deleted inserted replaced
1748:34d9d3c022ce 1749:32307118bc26
26 os: osx 26 os: osx
27 compiler: clang 27 compiler: clang
28 # OS X says daemon() and utmp are deprecated 28 # OS X says daemon() and utmp are deprecated
29 env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror" 29 env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror"
30 # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled. 30 # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
31 - name: "fuzzing" 31 # Address sanitizer
32 - name: "fuzz-asan"
32 env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++ 33 env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++
34 compiler: clang
35 # Undefined Behaviour sanitizer
36 - name: "fuzz-ubsan"
37 # don't fail with alignment due to https://github.com/libtom/libtomcrypt/issues/549
38 env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=undefined EXTRACFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=alignment" CXX=clang++
33 compiler: clang 39 compiler: clang
34 40
35 # container-based builds 41 # container-based builds
36 addons: 42 addons:
37 apt: 43 apt: