From: Arran Cudbard-Bell Date: Wed, 27 Oct 2021 20:46:20 +0000 (-0400) Subject: Run "slow-unit" output files too and pass _all_ matching crash files, not just the... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d38e8a3cdd5e6bfc05890f3992a9df697c21f1bd;p=thirdparty%2Ffreeradius-server.git Run "slow-unit" output files too and pass _all_ matching crash files, not just the first --- diff --git a/src/bin/fuzzer.mk b/src/bin/fuzzer.mk index 043a923ebd7..b99d17cacaf 100644 --- a/src/bin/fuzzer.mk +++ b/src/bin/fuzzer.mk @@ -93,10 +93,10 @@ test.fuzzer.$(PROTOCOL): $(TEST_BIN_DIR)/fuzzer_$(PROTOCOL) | src/tests/fuzzer-c fi endif -test.fuzzer.$(PROTOCOL).crash: $(wildcard $(BUILD_DIR)/fuzzer/$(PROTOCOL)/crash-*) $(TEST_BIN_DIR)/fuzzer_$(PROTOCOL) | src/tests/fuzzer-corpus/$(PROTOCOL) +test.fuzzer.$(PROTOCOL).crash: $(wildcard $(BUILD_DIR)/fuzzer/$(PROTOCOL)/crash-*) $(wildcard $(BUILD_DIR)/fuzzer/$(PROTOCOL)/slow-unit-*) $(TEST_BIN_DIR)/fuzzer_$(PROTOCOL) | src/tests/fuzzer-corpus/$(PROTOCOL) $(TEST_BIN)/fuzzer_$(PROTOCOL) \ -artifact_prefix="$(FUZZER_ARTIFACTS)/$(PROTOCOL)/" \ -max_len=512 $(FUZZER_ARGUMENTS) \ -max_total_time=$(FUZZER_TIMEOUT) \ -D share/dictionary \ - $< + $(filter $(BUILD_DIR)/fuzzer/$(PROTOCOL)/crash-% $(BUILD_DIR)/fuzzer/$(PROTOCOL)/slow-unit-%, $?)