diff --git a/projects/expat/build.sh b/projects/expat/build.sh index 9e7974136..ab6376072 100755 --- a/projects/expat/build.sh +++ b/projects/expat/build.sh @@ -43,5 +43,7 @@ for encoding in $ENCODING_TYPES; do cp $SRC/xml.dict $OUT/${fuzz_target_name}.dict fi - cp $SRC/parse_fuzzer.options $OUT/${fuzz_target_name}.options + # Generate .option files for each fuzzer. + echo -en "[libfuzzer]\ndict = ${fuzz_target_name}.dict\nmax_len = 1024\n" \ + > $OUT/${fuzz_target_name}.options done diff --git a/projects/expat/parse_fuzzer.options b/projects/expat/parse_fuzzer.options deleted file mode 100644 index 46f3f567c..000000000 --- a/projects/expat/parse_fuzzer.options +++ /dev/null @@ -1,3 +0,0 @@ -[libfuzzer] -dict = xml.dict -max_len = 1024