Skip to content

Commit

Permalink
provide max_len to libFuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEduR committed May 16, 2024
1 parent 0801fb6 commit e0db338
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion fuzz/ada_fuzzer.options
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[libfuzzer]
dict = url.dict
dict = url.dict
max_len = 1024
2 changes: 1 addition & 1 deletion fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ $CXX $CFLAGS $CXXFLAGS \
$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE url_search_params.o \
-o $OUT/url_search_params

cp $SRC/ada-url/fuzz/*.dict $SRC/ada-url/fuzz/*.options $OUT/
cp $SRC/ada-url/fuzz/*.dict $SRC/ada-url/fuzz/*.options $OUT/
2 changes: 1 addition & 1 deletion fuzz/url.dict
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"https://"
"ws://"
"wss://"
".com"
".com"

0 comments on commit e0db338

Please sign in to comment.