diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-10-21 10:04:28 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-10-21 10:04:28 +0000 |
commit | 8d22ab0e503ccaa464cbecd94d1059dbc5a61f4a (patch) | |
tree | 308c3bc6bed995a4714fe573194ab170bb40fc17 /ci | |
parent | b6e34afe9735faf97d6be7a90fafd33ec18c0cbb (diff) |
ci: Enable address sanitizer (ASan) stack-use-after-return checking
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test/04_install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index 1578e3c0b4..d0831a4c13 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -41,7 +41,7 @@ fi export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/ mkdir -p "${BASE_BUILD_DIR}/sanitizer-output/" -export ASAN_OPTIONS="" +export ASAN_OPTIONS="detect_stack_use_after_return=1" export LSAN_OPTIONS="suppressions=${BASE_BUILD_DIR}/test/sanitizer_suppressions/lsan" export TSAN_OPTIONS="suppressions=${BASE_BUILD_DIR}/test/sanitizer_suppressions/tsan:log_path=${BASE_BUILD_DIR}/sanitizer-output/tsan" export UBSAN_OPTIONS="suppressions=${BASE_BUILD_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1" |