feat: without corpus

This commit is contained in:
SekoiaTree 2025-05-14 12:47:40 +02:00
parent 5ee928ab34
commit 6beafd9f10
2 changed files with 15 additions and 0 deletions

View file

@ -9,3 +9,5 @@ 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

13
part1/run.w_o_corpus.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
COMMIT_HASH="bfed7dce6c66af5ff844ec880333848def837d50"
git clone https://github.com/SekoiaTree/oss-fuzz.git oss-fuzz-wo
cd oss-fuzz-wo
git checkout $COMMIT_HASH
python3 infra/helper.py build_image --pull libpng
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