From 39e7fa7e06363c90020ca04b87479611295b2717 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Thu, 16 Mar 2017 11:27:28 +0100 Subject: [PATCH] [expat] Fix incorrect .options file. --- projects/expat/build.sh | 4 +++- projects/expat/parse_fuzzer.options | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 projects/expat/parse_fuzzer.options 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