mirror of
https://github.com/clearml/dropbear
synced 2025-03-10 05:50:15 +00:00
Add ubsan fuzz run to Travis CI too
This commit is contained in:
parent
4c5b8fb6d6
commit
f74baa5830
@ -28,9 +28,15 @@ matrix:
|
|||||||
# OS X says daemon() and utmp are deprecated
|
# OS X says daemon() and utmp are deprecated
|
||||||
env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror"
|
env: WEXTRAFLAGS="-Wno-deprecated-declarations -Werror"
|
||||||
# Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
|
# Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
|
||||||
- name: "fuzzing"
|
# Address sanitizer
|
||||||
|
- name: "fuzz-asan"
|
||||||
env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++
|
env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS=-Werror LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address CXX=clang++
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
# Undefined Behaviour sanitizer
|
||||||
|
- name: "fuzz-ubsan"
|
||||||
|
# don't fail with alignment due to https://github.com/libtom/libtomcrypt/issues/549
|
||||||
|
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++
|
||||||
|
compiler: clang
|
||||||
|
|
||||||
# container-based builds
|
# container-based builds
|
||||||
addons:
|
addons:
|
||||||
|
Loading…
Reference in New Issue
Block a user