aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/libprotobuf-mutator
diff options
context:
space:
mode:
authorGravatar Vitaly Buka <vitalybuka@gmail.com>2017-02-26 23:45:22 -0800
committerGravatar GitHub <noreply@github.com>2017-02-26 23:45:22 -0800
commit9e3ea67fd5d7925daeaf3125c439ace03585828f (patch)
treef2613091656382ace79f2e42977c8ee99838d5f3 /projects/libprotobuf-mutator
parent8250d03b4675d073134b1b9970f323d1c83eb959 (diff)
Remove experimental targets from libprotobuf-mutator (#422)
Diffstat (limited to 'projects/libprotobuf-mutator')
-rwxr-xr-xprojects/libprotobuf-mutator/build.sh17
-rw-r--r--projects/libprotobuf-mutator/expat_dict.options3
-rw-r--r--projects/libprotobuf-mutator/expat_example.options1
-rw-r--r--projects/libprotobuf-mutator/libxml2_dict.options3
-rw-r--r--projects/libprotobuf-mutator/libxml2_example.options3
-rw-r--r--projects/libprotobuf-mutator/libxml2_experiment.options2
-rw-r--r--projects/libprotobuf-mutator/libxml2_small.options2
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