Skip to content

Commit

Permalink
Allow different sanitizer builds on oss-fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas K Lengyel committed Apr 12, 2024
1 parent 00ca3ed commit 057f04e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ build_fuzzer() {

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

if [ ! -z $seed ]; then
Expand All @@ -27,6 +29,7 @@ build_fuzzer() {

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

Expand Down

0 comments on commit 057f04e

Please sign in to comment.