File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
infra/base-images/base-runner Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ RUN git clone https://chromium.googlesource.com/chromium/src/tools/code_coverage
55
55
# shouldn't be changed unless a corresponding change is made on
56
56
# ClusterFuzz side as well.
57
57
ENV ASAN_OPTIONS="alloc_dealloc_mismatch=0:allocator_may_return_null=1:allocator_release_to_os_interval_ms=500:check_malloc_usable_size=0:detect_container_overflow=1:detect_odr_violation=0:detect_leaks=1:detect_stack_use_after_return=1:fast_unwind_on_fatal=0:handle_abort=1:handle_segv=1:handle_sigill=1:max_uar_stack_size_log=16:print_scariness=1:quarantine_size_mb=10:strict_memcmp=1:strip_path_prefix=/workspace/:symbolize=1:use_sigaltstack=1:dedup_token_length=3"
58
+ ENV LSAN_OPTIONS="max_leaks=0"
58
59
ENV MSAN_OPTIONS="print_stats=1:strip_path_prefix=/workspace/:symbolize=1:dedup_token_length=3"
59
60
ENV UBSAN_OPTIONS="print_stacktrace=1:print_summary=1:silence_unsigned_overflow=1:strip_path_prefix=/workspace/:symbolize=1:dedup_token_length=3"
60
61
ENV FUZZER_ARGS="-rss_limit_mb=2560 -timeout=25"
Original file line number Diff line number Diff line change @@ -105,6 +105,11 @@ if [ -f $OPTIONS_FILE ]; then
105
105
export ASAN_OPTIONS=" $ASAN_OPTIONS :$custom_asan_options "
106
106
fi
107
107
108
+ custom_lsan_options=$( parse_options.py $OPTIONS_FILE lsan)
109
+ if [ ! -z $custom_lsan_options ]; then
110
+ export LSAN_OPTIONS=" $LSAN_OPTIONS :$custom_lsan_options "
111
+ fi
112
+
108
113
custom_msan_options=$( parse_options.py $OPTIONS_FILE msan)
109
114
if [ ! -z $custom_msan_options ]; then
110
115
export MSAN_OPTIONS=" $MSAN_OPTIONS :$custom_msan_options "
You can’t perform that action at this time.
0 commit comments