diff options
author | Robert Löhning <robert.loehning@qt.io> | 2020-05-29 17:06:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 08:06:12 -0700 |
commit | 0e401be9deabf739a2ea34b98e044b17bf83026e (patch) | |
tree | 0e9c5d302e5bc0a873568ca15e99e07a089a3524 /projects/qt | |
parent | 8284b6bbddcfce2432cd946d29f74a66f1819494 (diff) | |
download | oss-fuzz-0e401be9deabf739a2ea34b98e044b17bf83026e.tar.gz |
[qt] Add qtdeclarative (#3901)
* [qt] Add qtdeclarative
* [qt] Ignore stdout from make
"The job exceeded the maximum log length, and has been terminated."
Diffstat (limited to 'projects/qt')
-rw-r--r-- | projects/qt/Dockerfile | 1 | ||||
-rwxr-xr-x | projects/qt/build.sh | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/projects/qt/Dockerfile b/projects/qt/Dockerfile index 66aac7841..71eb4a7e1 100644 --- a/projects/qt/Dockerfile +++ b/projects/qt/Dockerfile @@ -21,6 +21,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 qtdeclarative 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 9f2cada29..c44d9f16e 100755 --- a/projects/qt/build.sh +++ b/projects/qt/build.sh @@ -30,13 +30,14 @@ sed -i -e "s/QMAKE_CXXFLAGS_RTTI_OFF = -fno-rtti/QMAKE_CXXFLAGS_RTTI_OFF = # build project cd $WORK MAKEFLAGS=-j$(nproc) $SRC/qt/configure -qt-libmd4c -platform linux-clang-libc++ -static -opensource -confirm-license -no-opengl -nomake tests -nomake examples -prefix $PWD/qtbase -D QT_NO_DEPRECATED_WARNINGS -make -j$(nproc) +make -j$(nproc) > /dev/null # prepare corpus files zip -j $WORK/cbor $SRC/qtqa/fuzzing/testcases/cbor/* 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/qml $SRC/qtqa/fuzzing/testcases/qml/* zip -j $WORK/ssl.pem.zip $SRC/qtqa/fuzzing/testcases/ssl.pem/* 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" "qtdeclarative" "qml/qml/qqmlcomponent/create/create.pro " "qml" |