diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-10-07 15:48:41 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-11-13 12:37:44 +0200 |
commit | 6961d46b6e07fc9492c31e5bd8b98660fd65e4e6 (patch) | |
tree | e551f10802637d2187aa085d5e98331e0f684693 /tests/libfuzzer | |
parent | 17b8a49fded383ffff1bd8552b55e8b5c01b2ecc (diff) |
Fuzzing: Add comment how to recude noise in iccparser's fuzzer
With logging enabled, all the output will slow down
execution and fill up your hard disc in about a day.
Task-number: QTBUG-79050
Change-Id: I5dcac2f349f7dbe471a5e6dd7006b89d312aeeaf
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/libfuzzer')
-rw-r--r-- | tests/libfuzzer/gui/iccparser/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libfuzzer/gui/iccparser/main.cpp b/tests/libfuzzer/gui/iccparser/main.cpp index 1db43d2e25..7681c1468e 100644 --- a/tests/libfuzzer/gui/iccparser/main.cpp +++ b/tests/libfuzzer/gui/iccparser/main.cpp @@ -29,6 +29,10 @@ #include <QGuiApplication> #include <QColorSpace> +// Run this with +// QT_LOGGING_RULES="qt.gui.icc=false" +// to reduce noise and increase speed. + extern "C" int LLVMFuzzerTestOneInput(const char *data, size_t size) { static int c = 0; static QGuiApplication a(c, nullptr); |