Skip to content

Commit

Permalink
fuzzer: add ubsan support
Browse files Browse the repository at this point in the history
Adds support for undefined fuzzing

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey authored and kv2019i committed Sep 11, 2024
1 parent e983b51 commit 186251c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/configs/fuzz_ubsan.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_UBSAN=y
1 change: 1 addition & 0 deletions scripts/fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ main()

case $SANITIZER in
address) conf_files_list+=";configs/fuzz_asan.conf";;
undefined) conf_files_list+=";configs/fuzz_ubsan.conf";;
*) echo "Unknown fuzzer type"; print_help; exit 1;;
esac

Expand Down

0 comments on commit 186251c

Please sign in to comment.