Skip to content

Commit

Permalink
Update fuzzers build file, add ada_c
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEduR committed Jun 14, 2024
1 parent cc97541 commit f406c60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,16 @@ $CXX $CFLAGS $CXXFLAGS \
$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE url_search_params.o \
-o $OUT/url_search_params

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

$CC $CFLAGS $CXXFLAGS \
-I build/singleheader \
-c fuzz/ada_c.c -o ada_c.o

$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE ./ada.o ada_c.o \
-o $OUT/ada_c

cp $SRC/ada-url/fuzz/*.dict $SRC/ada-url/fuzz/*.options $OUT/

0 comments on commit f406c60

Please sign in to comment.