]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: add more ASan options 12761/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Sat, 15 Jun 2019 00:07:17 +0000 (02:07 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sat, 15 Jun 2019 03:19:58 +0000 (05:19 +0200)
travis-ci/managers/fuzzit.sh

index 8c081e4e4158b1fdb1515f3a847a915e1cb897fd..71858b4be87c3ddbec2ba06fed489a344368af03 100755 (executable)
@@ -35,7 +35,9 @@ fi
 # on pull-request we use a write-only key which is ok for now. maybe there will be a better solution in the future
 FUZZIT_API_KEY=7c1bd82fe0927ffe1b4bf1e2e86cc812b28dfe08a7080a7bf498e98715884a163402ee37ba95d4b1637247deffcea43e
 FUZZIT_ADDITIONAL_FILES="./out/src/shared/libsystemd-shared-242.so"
-ASAN_OPTIONS=quarantine_size_mb=10
+
+# ASan options are borrowed almost verbatim from OSS-Fuzz
+ASAN_OPTIONS=redzone=32:print_summary=1:handle_sigill=1:allocator_release_to_os_interval_ms=500:print_suppressions=0:strict_memcmp=1:allow_user_segv_handler=0:allocator_may_return_null=1:use_sigaltstack=1:handle_sigfpe=1:handle_sigbus=1:detect_stack_use_after_return=1:alloc_dealloc_mismatch=0:detect_leaks=1:print_scariness=1:max_uar_stack_size_log=16:handle_abort=1:check_malloc_usable_size=0:quarantine_size_mb=64:detect_odr_violation=0:handle_segv=1:fast_unwind_on_fatal=0
 UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1:silence_unsigned_overflow=1
 FUZZIT_ARGS="--type ${FUZZING_TYPE} --branch ${FUZZIT_BRANCH} --revision ${TRAVIS_COMMIT} --asan_options ${ASAN_OPTIONS} --ubsan_options ${UBSAN_OPTIONS}"
 wget -O fuzzit https://bin.fuzzit.dev/fuzzit-1.1