From 72b82ee08ffd39e284a7271bb556ba0e5b7b3e39 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Fri, 31 Aug 2018 15:42:22 -0700 Subject: [PATCH] [infra] Code Coverage: use -close_fd_mask=3 to speed up noisy fuzz targets. --- infra/base-images/base-runner/coverage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-runner/coverage b/infra/base-images/base-runner/coverage index 4da4a32a3..37c0cc57d 100755 --- a/infra/base-images/base-runner/coverage +++ b/infra/base-images/base-runner/coverage @@ -64,7 +64,7 @@ function run_fuzz_target { local profdata_file="$DUMPS_DIR/$target.profdata" # Use 100s timeout instead of 25s as code coverage builds can be very slow. - local args="-timeout=100 -runs=0 /corpus/${target}" + local args="-timeout=100 -runs=0 -close_fd_mask=3 /corpus/${target}" export LLVM_PROFILE_FILE=$profraw_file timeout $TIMEOUT $target $args &> $LOGS_DIR/$target.log