Skip to content

Commit 2e46628

Browse files
authored
Provide max_len to libFuzzer (#661)
1 parent f6d5cbd commit 2e46628

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

fuzz/ada_fuzzer.options

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[libfuzzer]
2-
dict = url.dict
2+
dict = url.dict
3+
max_len = 1024

fuzz/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ $CXX $CFLAGS $CXXFLAGS \
3737
$CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE url_search_params.o \
3838
-o $OUT/url_search_params
3939

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

fuzz/url.dict

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"https://"
55
"ws://"
66
"wss://"
7-
".com"
7+
".com"

0 commit comments

Comments
 (0)