Skip to content

Commit

Permalink
sound-open-firmware: enable undefined sanitizer
Browse files Browse the repository at this point in the history
Signed-off-by: Curtis Malainey <[email protected]>
  • Loading branch information
cujomalainey committed Oct 16, 2024
1 parent 24f1904 commit c03a2a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/sound-open-firmware/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ unset CXXFLAGS

cd $SRC/sof_workspace

sof/scripts/fuzz.sh -b -a $ARCHITECTURE -- -DEXTRA_CONF_FILE=stub_build_all_ipc3.conf
sof/scripts/fuzz.sh -b -s $SANITIZER -a $ARCHITECTURE -- -DEXTRA_CONF_FILE=stub_build_all_ipc3.conf -DEXTRA_CFLAGS="-fno-sanitize-recover=all"
cp build-fuzz/zephyr/zephyr.exe $OUT/sof-ipc3

sof/scripts/fuzz.sh -b -a $ARCHITECTURE -- -DEXTRA_CONF_FILE=stub_build_all_ipc4.conf
sof/scripts/fuzz.sh -b -s $SANITIZER -a $ARCHITECTURE -- -DEXTRA_CONF_FILE=stub_build_all_ipc4.conf -DEXTRA_CFLAGS="-fno-sanitize-recover=all"
cp build-fuzz/zephyr/zephyr.exe $OUT/sof-ipc4
1 change: 1 addition & 0 deletions projects/sound-open-firmware/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fuzzing_engines:
- libfuzzer
sanitizers:
- address
- undefined
architectures:
- i386
main_repo: "https://github.com/thesofproject/sof"

0 comments on commit c03a2a5

Please sign in to comment.