aboutsummaryrefslogtreecommitdiff
path: root/projects/qt
diff options
context:
space:
mode:
authorRobert Löhning <robert.loehning@qt.io>2020-06-19 16:53:57 +0200
committerGitHub <noreply@github.com>2020-06-19 07:53:57 -0700
commit9fd351cb1adbf24a58720edffb259c9742514d65 (patch)
tree3d4dd4a48c3e4c3a64d7d23718c8b5de359b63d0 /projects/qt
parent058247f3d3aa2441c6342b7a4cc9325297b52a95 (diff)
downloadoss-fuzz-9fd351cb1adbf24a58720edffb259c9742514d65.tar.gz
[qt] Test qtsvg (#4012)
Diffstat (limited to 'projects/qt')
-rw-r--r--projects/qt/Dockerfile1
-rwxr-xr-xprojects/qt/build.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/projects/qt/Dockerfile b/projects/qt/Dockerfile
index 6abb07f53..89732b826 100644
--- a/projects/qt/Dockerfile
+++ b/projects/qt/Dockerfile
@@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y libc6-dev:i386
RUN git clone --branch 5.15 --depth 1 git://code.qt.io/qt/qt5.git qt
WORKDIR qt
RUN git submodule update --init --depth 1 qtbase
+RUN git submodule update --init --depth 1 qtsvg
WORKDIR $SRC
RUN git clone --depth 1 git://code.qt.io/qt/qtqa.git
RUN git clone --depth 1 https://github.com/google/AFL.git
diff --git a/projects/qt/build.sh b/projects/qt/build.sh
index ef8c9d44a..994cba957 100755
--- a/projects/qt/build.sh
+++ b/projects/qt/build.sh
@@ -38,6 +38,7 @@ zip -j $WORK/html $SRC/qtqa/fuzzing/testcases/html/*
zip -j $WORK/images $SRC/qtqa/fuzzing/testcases/svg/* $SRC/AFL/testcases/images/*/*
zip -j $WORK/markdown $SRC/qtqa/fuzzing/testcases/markdown/*
zip -j $WORK/ssl.pem.zip $SRC/qtqa/fuzzing/testcases/ssl.pem/*
+zip -j $WORK/svg $SRC/qtqa/fuzzing/testcases/svg/*
zip -j $WORK/text $SRC/qtqa/fuzzing/testcases/text/* $SRC/AFL/testcases/others/text/*
zip -j $WORK/xml $SRC/qtqa/fuzzing/testcases/xml/* $SRC/AFL/testcases/others/xml/*
@@ -92,3 +93,4 @@ build_fuzzer "new" "qtbase" "gui/text/qtextdocument/sethtml/sethtml.pro" "html"
build_fuzzer "old" "qtbase" "gui/text/qtextdocument/setmarkdown/setmarkdown.pro" "markdown"
build_fuzzer "new" "qtbase" "gui/text/qtextlayout/beginlayout/beginlayout.pro" "text"
build_fuzzer "new" "qtbase" "network/ssl/qsslcertificate/qsslcertificate/pem/pem.pro" "ssl.pem"
+build_fuzzer "new" "qtsvg" "svg/qsvgrenderer/render/render.pro" "svg"