symbolize=1 for travis
MODIFY
.travis.yml
.travis.yml
@@ -55,5 +55,5 @@ script:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export LLVM_CONFIG=`pwd`/"$NAME" ; make source-only ASAN_BUILD=1 ; fi
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$TRAVIS_CPU_ARCH" = "amd64" ]; then make distrib ASAN_BUILD=1 ; fi
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ] ; then export LLVM_CONFIG=llvm-config-6.0 ; make ASAN_BUILD=1 ; cd qemu_mode && sh ./build_qemu_support.sh ; cd .. ; fi
- - export ASAN_OPTIONS="abort_on_error=1:detect_leaks=0:symbolize=1" ; make tests
+ - make tests
# - travis_terminate 0

MODIFY
test/test-pre.sh
test/test-pre.sh
@@ -93,7 +93,13 @@ unset LD_PRELOAD
rm -rf in in2 out
+test -z "$TRAVIS_OS_NAME" && {
export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=0
+}
+test -n "$TRAVIS_OS_NAME" && {
+ export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=1
+}
+
export AFL_LLVM_INSTRUMENT=AFL
# on OpenBSD we need to work with llvm from /usr/local/bin

symbolize=1 for travis