Skip to content

Commit

Permalink
try to fix fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 2, 2024
1 parent 2661652 commit 244f274
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@ mkdir build
AMALGAMATE_OUTPUT_PATH=./build/singleheader python3 singleheader/amalgamate.py

$CXX $CFLAGS $CXXFLAGS \
-std=c++20 \
-std=c++2a \
-I build/singleheader \
-c fuzz/parse.cc -o parse.o

$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE parse.o \
-o $OUT/parse

$CXX $CFLAGS $CXXFLAGS \
-std=c++20 \
-std=c++2a \
-I build/singleheader \
-c fuzz/can_parse.cc -o can_parse.o

$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE can_parse.o \
-o $OUT/can_parse

$CXX $CFLAGS $CXXFLAGS \
-std=c++20 \
-std=c++2a \
-I build/singleheader \
-c fuzz/idna.cc -o idna.o

$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE idna.o \
-o $OUT/idna

$CXX $CFLAGS $CXXFLAGS \
-std=c++20 \
-std=c++2a \
-I build/singleheader \
-c fuzz/url_search_params.cc -o url_search_params.o

$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE url_search_params.o \
-o $OUT/url_search_params

$CXX $CFLAGS $CXXFLAGS \
-std=c++20 \
-std=c++2a \
-I build/singleheader \
-c build/singleheader/ada.cpp -o ada.o

Expand Down

0 comments on commit 244f274

Please sign in to comment.