Skip to content

Commit

Permalink
Add dictionary to run with fuzzers (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEduR authored May 16, 2024
1 parent 77dc0d0 commit f6d5cbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fuzz/ada_fuzzer.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[libfuzzer]
dict = url.dict
2 changes: 2 additions & 0 deletions fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ $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/
7 changes: 7 additions & 0 deletions fuzz/url.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"ftp://"
"file://"
"http://"
"https://"
"ws://"
"wss://"
".com"

0 comments on commit f6d5cbd

Please sign in to comment.