Skip to content

Commit

Permalink
turn on safe duration cast for the fuzzer builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed May 29, 2019
1 parent 31a7008 commit 67201d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzzing/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo $me: root=$root
here=$(pwd)

CXXFLAGSALL="-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION= -g"
CMAKEFLAGSALL="$root -GNinja -DCMAKE_BUILD_TYPE=Debug -DFMT_DOC=Off -DFMT_TEST=Off -DFMT_FUZZ=On"
CMAKEFLAGSALL="$root -GNinja -DCMAKE_BUILD_TYPE=Debug -DFMT_DOC=Off -DFMT_TEST=Off -DFMT_FUZZ=On -DFMT_SAFE_DURATION_CAST=On"

#builds the fuzzers as one would do if using afl or just making
#binaries for reproducing.
Expand Down

0 comments on commit 67201d2

Please sign in to comment.