Commit Graph

51 Commits

Author SHA1 Message Date
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Robert Löhning 2264f7915f
[qt] Don't clone AFL (#4067)
Now that stable caught up with master, we
can use the clone from base-builder image.
2020-07-05 08:30:57 -07:00
Robert Löhning 7da55877b6
[qt] Move build.sh to own repository (#4042) 2020-06-29 12:43:17 -07:00
Robert Löhning 9fd351cb1a
[qt] Test qtsvg (#4012) 2020-06-19 07:53:57 -07:00
Robert Löhning 4f512ca757
Remove qtdeclarative (#3949)
It turned out that QQmlComponent::create() is not suitable for fuzzing.

This mostly reverts commit 0e401be9de.
2020-06-09 07:40:49 -07:00
Abhishek Arya 1776bd3dec
Install latest cmake, make easy to install i386 packages (#3943)
Fixes #3124, #2751
2020-06-07 17:27:40 -07:00
Robert Löhning 3d5ee75211
Revert "[qt] Add pdf to image corpus (#3926)" (#3929)
To handle PDFs, QImage requires qtwebengine
which doesn't build statically.

This reverts commit 934c770abb.
2020-06-03 11:04:11 -07:00
Robert Löhning 934c770abb
[qt] Add pdf to image corpus (#3926) 2020-06-03 07:24:44 -07:00
Robert Löhning 0e401be9de
[qt] Add qtdeclarative (#3901)
* [qt] Add qtdeclarative

* [qt] Ignore stdout from make

"The job exceeded the maximum log length, and has been terminated."
2020-05-29 08:06:12 -07:00
Robert Löhning d942fb9657
[qt] Don't install build-essential (#3880)
It's in base-builder now.
2020-05-26 12:51:14 -07:00
Robert Löhning 77fd079da7
[qt] Add fuzzer for QImage::loadFromData() (#3873) 2020-05-25 21:53:29 -07:00
Robert Löhning e41dd0e642
[qt] Get a shallow clone of qtbase (#3872)
Reduces the size by nearly 200 MB
2020-05-25 21:53:19 -07:00
Robert Löhning 366c2ba367
[qt] Add corpus for CBOR (#3768) 2020-05-06 12:18:29 -07:00
Robert Löhning 17c76822c0
[qt] Add fuzzer for QColorSpace::fromIccProfile() (#3686) 2020-04-21 11:45:28 -07:00
Robert Löhning dd74f5e6c2
[qt] Add fuzzer for QCborStreamReader::next() (#3684) 2020-04-21 08:21:34 -07:00
Robert Löhning 5ed2a56893
[qt] Add fuzzer for QTextStream (#3661) 2020-04-16 13:28:27 -07:00
Robert Löhning 45d3944cd1
[qt] Enable fuzzer for QTextDocument::setHtml (#3655) 2020-04-15 13:39:29 -07:00
Robert Löhning 4ee9ad7901
[qt] Add architecture i386 (#3654) 2020-04-15 07:26:36 -07:00
Robert Löhning 86f93e822b
[qt] Enable sanitizer undefined (#3644) 2020-04-14 09:11:20 -07:00
Robert Löhning f153ab8e4b
[qt] Don't install xcb (#3608)
Seems to be needed on Windows only.
2020-04-09 12:20:36 -07:00
Robert Löhning c833c8dfa2
[qt] Don't install xcb (#3605)
We use the minimal plugin instead.
2020-04-09 10:58:45 -07:00
Robert Löhning 711e015898
[qt] Add fuzzer for QRegularExpression (#3567) 2020-04-02 07:59:40 -07:00
Robert Löhning be91239b10
[qt] Use dictionaires and testcases from AFL's repo (#3562)
...instead of Ubuntu package
2020-03-31 14:35:39 -07:00
Robert Löhning 96caab94d8
[qt] Remove cherry-picking of ssl fuzz target (#3522)
It's in now.
2020-03-19 06:57:40 -07:00
Robert Löhning 6b3d83ee9a
[qt] Explicitly build with our own copy of md4c (#3521) 2020-03-18 16:50:47 -07:00
Robert Löhning a35bbeeeae
[qt] Add fuzz target for ctor of QSslCertificate (#3504)
* [qt] Add fuzz target for ctor of QSslCertificate

* [qt] Fix filename of corpus file

* Cherry-pick fuzz target directly.

It's in the repo now.
2020-03-16 07:57:02 -07:00
Robert Löhning da9cbde065
[qt] Add first auto_cc (#3495) 2020-03-12 11:58:35 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Robert Löhning 29b75dae2b
[qt] Move beginLayout the new naming scheme (#3484) 2020-03-09 15:18:52 -07:00
Robert Löhning a9cddd50ae
[qt] Don't show warnings about deprecated API (#3470)
They made the build output too long. Without these
warnings, I don't need to send it to /dev/null anymore.
2020-03-06 10:51:23 -08:00
Max Moroz 56dc446432
[qt] Provide corpus for beginlayout (#3467) 2020-03-05 14:37:02 -08:00
Max Moroz 8a3c129d33
[qt] Add fuzzer for QCborValue (#3460)
* [qt] Add fuzzer for QCborValue

The first fuzzer to follow the new naming scheme.

* [qt] Don't log the whole build output
2020-03-04 10:32:59 -08:00
Robert Löhning 19a990529f
[qt] Make using longer names for fuzz targets possible (#3426)
* [qt] Use longer names for fuzz targets

They give a better overview by resembling
the path of the tested code.

* [qt] Add missing "fi"
2020-02-25 16:19:13 -08:00
Robert Löhning 6bc159c982
[qt] Remove cherry-picking of renaming files (#3422)
It's upstream now.
2020-02-25 03:59:07 -08:00
Robert Löhning b911bfc78b
[qt] Change pro-file names to lower case (#3381)
* [qt] Change pro-file names to lower case

Don't change the names of resulting
executables to keep track of open issues.

* [qt] Fix workaround

* [qt] Another fix in the workaround
2020-02-13 10:34:12 -08:00
Robert Löhning 4e3c999091
[qt] Remove temporary compile fix (#3359)
...when the proper fix was merged upstream.
2020-02-07 05:04:25 -08:00
Robert Löhning 1950826621
[qt] Don't install Qt (#3345) 2020-02-06 07:11:34 -08:00
Robert Löhning 0e48761f14
[qt] Add temporary workaround for compile issue (#3323) 2020-02-04 07:28:04 -08:00
Robert Löhning e83cc34172
[qt] Delete fuzzer's artifacts after building one (#3309) 2020-01-30 14:03:37 -08:00
Robert Löhning 87df2b147a [qt] Add bash function for building fuzz targets (#3261)
* [qt] Add bash function for building fuzz targets

* Fix assignments

* Fix building corpus

* Fix reading of optional parameters

* Move module to separate parameter
2020-01-21 09:26:25 -08:00
Robert Löhning 8ded82c81e [qt] Add fuzz target for QTextDocument::setHtml (#3245) 2020-01-16 15:07:24 -08:00
Robert Löhning a69a542680 [qt] Build widgets and add fuzz target for QTextLayout::beginLayout() (#3244) 2020-01-16 10:31:44 -08:00
Robert Löhning feb57d3c9d [qt] Don't try to shallow-copy submodules (#3242)
It doesn't work that way.
2020-01-16 04:28:21 -08:00
Robert Löhning 61220d2a3b Qt: Build fuzz target for QTextDocument::setMarkdown (#3241) 2020-01-16 04:27:29 -08:00
Robert Löhning 383f8ecefa [qt] Test on branch 5.15 instead of dev (#3232)
- dev will change the build system to cmake. When I stay on 5.15,
  I can choose when to port the fuzzing.

- Submodules are currently outdated in dev. On 5.15, changes in
  stable branch will be tested earlier and additions for fuzzing
  can be used earlier.
2020-01-14 13:10:10 -08:00
Robert Löhning 25477f9036 Link statically (#3188) 2020-01-06 07:41:33 -08:00
Robert Löhning eb8dc35664 Use dictionary from AFL for XML (#3187) 2020-01-06 07:40:44 -08:00
Robert Löhning 04ea24ee15 Add the first fuzz target for Qt (#3171) 2020-01-02 07:44:45 -08:00
Robert Löhning 0f8915c4ba Add The Qt Project (#1799) 2019-01-21 08:27:24 -08:00
Max Moroz d9e4cea13c Revert "Add the Qt Project (#1779)". 2018-09-06 10:11:44 -07:00