From 6961d46b6e07fc9492c31e5bd8b98660fd65e4e6 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 7 Oct 2019 15:48:41 +0200 Subject: 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 --- tests/libfuzzer/gui/iccparser/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/libfuzzer') 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 #include +// 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); -- cgit v1.2.3