Skip to content

Commit

Permalink
fuzz: add coverage build
Browse files Browse the repository at this point in the history
Fixes coverage introspection

Signed-off-by: Curtis Malainey <[email protected]>
  • Loading branch information
cujomalainey authored and lgirdwood committed Oct 30, 2024
1 parent b5d78bb commit 50f17d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/configs/fuzz_coverage.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_COVERAGE=y
CONFIG_COVERAGE_NATIVE_SOURCE=y
1 change: 1 addition & 0 deletions scripts/fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ main()
case $SANITIZER in
address) conf_files_list+=";configs/fuzz_asan.conf";;
undefined) conf_files_list+=";configs/fuzz_ubsan.conf";;
coverage) conf_files_list+=";configs/fuzz_coverage.conf";;
*) echo "Unknown fuzzer type"; print_help; exit 1;;
esac

Expand Down

0 comments on commit 50f17d3

Please sign in to comment.