mirror of https://github.com/google/oss-fuzz.git
add fsanitize=unsigned-integer-overflow to libcxx
This commit is contained in:
parent
ea348f8d95
commit
71600238b0
|
@ -15,6 +15,10 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
if [[ $SANITIZER = *undefined* ]]; then
|
||||
CXXFLAGS="$CXXFLAGS -fsanitize=unsigned-integer-overflow -fsanitize-trap=unsigned-integer-overflow"
|
||||
fi
|
||||
|
||||
for f in $(grep -v "#" libcxx/fuzzing/RoutineNames.txt); do
|
||||
cat > ${f}_fuzzer.cc <<EOF
|
||||
#include "fuzzing/fuzzing.h"
|
||||
|
|
Loading…
Reference in New Issue