diff --git a/part1/run.w_corpus.sh b/part1/run.w_corpus.sh index 2152aee..8465b59 100755 --- a/part1/run.w_corpus.sh +++ b/part1/run.w_corpus.sh @@ -11,4 +11,6 @@ python3 infra/helper.py build_fuzzers --clean libpng mkdir -p build/out/corpus python3 infra/helper.py run_fuzzer libpng libpng_read_fuzzer --corpus-dir build/out/corpus python3 infra/helper.py build_fuzzers --sanitizer coverage libpng -python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve +# no-serve: to exit immediately +# port: in case port 8008 is already allocated, even with no-serve it fails otherwise... +python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve --port 9531 diff --git a/part1/run.w_o_corpus.sh b/part1/run.w_o_corpus.sh index 039ce7b..a522b1a 100755 --- a/part1/run.w_o_corpus.sh +++ b/part1/run.w_o_corpus.sh @@ -12,4 +12,6 @@ python3 infra/helper.py build_fuzzers --clean libpng mkdir -p build/out/corpus python3 infra/helper.py run_fuzzer libpng libpng_read_fuzzer --corpus-dir build/out/corpus python3 infra/helper.py build_fuzzers --sanitizer coverage libpng -python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve +# no-serve: to exit immediately +# port: in case port 8008 is already allocated, even with no-serve it fails otherwise... +python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve --port 9531 diff --git a/part3/improve1/run.improve1.sh b/part3/improve1/run.improve1.sh index 4894048..ad97173 100755 --- a/part3/improve1/run.improve1.sh +++ b/part3/improve1/run.improve1.sh @@ -11,4 +11,6 @@ python3 infra/helper.py build_fuzzers --clean libpng mkdir -p build/out/corpus python3 infra/helper.py run_fuzzer libpng libpng_read_fuzzer --corpus-dir build/out/corpus python3 infra/helper.py build_fuzzers --sanitizer coverage libpng -python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve +# no-serve: to exit immediately +# port: in case port 8008 is already allocated, even with no-serve it fails otherwise... +python3 infra/helper.py coverage libpng --corpus-dir build/out/corpus --fuzz-target libpng_read_fuzzer --no-serve --port 9531