From a8845ccbe717bfc9960e3c5a9803d79a75d140da Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Wed, 15 Dec 2021 12:30:33 +0100 Subject: [PATCH] Fix makefile for frida_libpng (#422) * fix Makefile * revert unfinished changes from #418 Co-authored-by: tokatoka --- fuzzers/frida_libpng/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fuzzers/frida_libpng/Makefile b/fuzzers/frida_libpng/Makefile index 5ef62a78b8..e474ef6c16 100644 --- a/fuzzers/frida_libpng/Makefile +++ b/fuzzers/frida_libpng/Makefile @@ -29,12 +29,12 @@ clean: rm $(FUZZER_NAME) run: all - ./$(FUZZER_NAME) ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0 + ./$(FUZZER_NAME) ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0 --input=./corpus short_test: all rm -rf libafl_unix_shmem_server || true # We allow exit code 124 too, which is sigterm - (timeout 3s ./libafl_frida ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0,1 || [ $$? -eq 124 ]) + (timeout 3s ./libafl_frida ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0,1 --input=./corpus || [ $$? -eq 124 ]) test: all - (timeout 60s ./$(FUZZER_NAME) ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0,1 || [ $$? -eq 124 ]) \ No newline at end of file + (timeout 60s ./$(FUZZER_NAME) ./libpng-harness.so LLVMFuzzerTestOneInput ./libpng-harness.so --cores=0,1 --input=./corpus || [ $$? -eq 124 ]) \ No newline at end of file