diff options
Diffstat (limited to 'projects/libprotobuf-mutator')
7 files changed, 3 insertions, 28 deletions
diff --git a/projects/libprotobuf-mutator/build.sh b/projects/libprotobuf-mutator/build.sh index 3aa80eae..27f00e72 100755 --- a/projects/libprotobuf-mutator/build.sh +++ b/projects/libprotobuf-mutator/build.sh @@ -26,22 +26,5 @@ cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release \ -DLIB_PROTO_MUTATOR_FUZZER_LIBRARIES=FuzzingEngine ninja libxml2_example expat_example cp -f examples/libxml2/libxml2_example $OUT/ -cp -f examples/libxml2/libxml2_example $OUT/libxml2_small -cp -f examples/libxml2/libxml2_example $OUT/libxml2_dict cp -f examples/expat/expat_example $OUT/ -cp -f examples/expat/expat_example $OUT/expat_dict popd - -# Experimental fuzzer to compare coverage with default one. -CXXFLAGS="$CXXFLAGS -DLIB_PROTO_MUTATOR_XML2_NO_FLATTENING=1" -mkdir -p build_exp -pushd build_exp -rm -rf * -cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release \ - -DLIB_PROTO_MUTATOR_WITH_ASAN=OFF \ - -DLIB_PROTO_MUTATOR_FUZZER_LIBRARIES=FuzzingEngine -ninja libxml2_example -cp -f examples/libxml2/libxml2_example $OUT/libxml2_experiment -popd - - diff --git a/projects/libprotobuf-mutator/expat_dict.options b/projects/libprotobuf-mutator/expat_dict.options deleted file mode 100644 index 28f3efaf..00000000 --- a/projects/libprotobuf-mutator/expat_dict.options +++ /dev/null @@ -1,3 +0,0 @@ -[libfuzzer] -dict = xml.dict -max_len=1024 diff --git a/projects/libprotobuf-mutator/expat_example.options b/projects/libprotobuf-mutator/expat_example.options index c9ec3a80..28f3efaf 100644 --- a/projects/libprotobuf-mutator/expat_example.options +++ b/projects/libprotobuf-mutator/expat_example.options @@ -1,2 +1,3 @@ [libfuzzer] +dict = xml.dict max_len=1024 diff --git a/projects/libprotobuf-mutator/libxml2_dict.options b/projects/libprotobuf-mutator/libxml2_dict.options deleted file mode 100644 index 18289121..00000000 --- a/projects/libprotobuf-mutator/libxml2_dict.options +++ /dev/null @@ -1,3 +0,0 @@ -[libfuzzer] -dict = xml.dict -max_len=1000 diff --git a/projects/libprotobuf-mutator/libxml2_example.options b/projects/libprotobuf-mutator/libxml2_example.options index f151d878..18289121 100644 --- a/projects/libprotobuf-mutator/libxml2_example.options +++ b/projects/libprotobuf-mutator/libxml2_example.options @@ -1,2 +1,3 @@ [libfuzzer] -max_len=2000 +dict = xml.dict +max_len=1000 diff --git a/projects/libprotobuf-mutator/libxml2_experiment.options b/projects/libprotobuf-mutator/libxml2_experiment.options deleted file mode 100644 index f151d878..00000000 --- a/projects/libprotobuf-mutator/libxml2_experiment.options +++ /dev/null @@ -1,2 +0,0 @@ -[libfuzzer] -max_len=2000 diff --git a/projects/libprotobuf-mutator/libxml2_small.options b/projects/libprotobuf-mutator/libxml2_small.options deleted file mode 100644 index 278c6811..00000000 --- a/projects/libprotobuf-mutator/libxml2_small.options +++ /dev/null @@ -1,2 +0,0 @@ -[libfuzzer] -max_len=1000 |