Skip to content

Commit

Permalink
Merge pull request #9 from tklengyel/coverage
Browse files Browse the repository at this point in the history
Enable coverage reporting on oss-fuzz
  • Loading branch information
el-tipton authored Apr 12, 2024
2 parents 0120af2 + fa5888c commit 00ca3ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ build_fuzzer() {
inf=$2
seed=${3:-""}

if [ $SANITIZER == "coverage" -a -n "$COVERAGE_FLAGS" ]; then
coverage="true"
else
coverage="false"
fi

if [ ! -z $seed ]; then
zip -j $OUT/${fuzzer}_seed_corpus.zip ${seed}/*
fi

python $SRC/hbfa-fl/HBFA/UefiHostTestTools/RunLibFuzzer.py -c manual -a X64 \
-p $coverage \
-m $inf \
-o $WORK

Expand Down

0 comments on commit 00ca3ed

Please sign in to comment.