[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/13] fuzz: avoid double-fetches by default
From: |
Thomas Huth |
Subject: |
[PULL 08/13] fuzz: avoid double-fetches by default |
Date: |
Wed, 9 Dec 2020 10:48:51 +0100 |
From: Alexander Bulekov <alxndr@bu.edu>
The generic fuzzer can find double-fetch bugs. However:
* We currently have no good way of producing qemu-system reproducers for
double-fetch bugs. Even if we can get developers to run the binary-blob
reproducers with the qemu-fuzz builds, we currently don't have a minimizer for
these reproducers, so they are usually not easy to follow.
* Often times the fuzzer will provide a reproducer containing a
double-fetch for a bug that can be reproduced without double-fetching.
Until we find a way to build nice double-fetch reproducers that
developers are willing to look at, lets tell OSS-Fuzz to avoid
double-fetches.
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20201202164214.93867-1-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/fuzz/generic_fuzz.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/fuzz/generic_fuzz.c b/tests/qtest/fuzz/generic_fuzz.c
index 262a963d2e..07ad690683 100644
--- a/tests/qtest/fuzz/generic_fuzz.c
+++ b/tests/qtest/fuzz/generic_fuzz.c
@@ -916,6 +916,7 @@ static GString
*generic_fuzz_predefined_config_cmdline(FuzzTarget *t)
g_assert(t->opaque);
config = t->opaque;
+ setenv("QEMU_AVOID_DOUBLE_FETCH", "1", 1);
setenv("QEMU_FUZZ_ARGS", config->args, 1);
setenv("QEMU_FUZZ_OBJECTS", config->objects, 1);
return generic_fuzz_cmdline(t);
--
2.18.4
- [PULL 03/13] gitlab-ci: Introduce 'cross_accel_build_job' template, (continued)
- [PULL 03/13] gitlab-ci: Introduce 'cross_accel_build_job' template, Thomas Huth, 2020/12/09
- [PULL 04/13] gitlab-ci: Add KVM s390x cross-build jobs, Thomas Huth, 2020/12/09
- [PULL 05/13] gitlab-ci: Add Xen cross-build jobs, Thomas Huth, 2020/12/09
- [PULL 06/13] test-qga: fix a resource leak in test_qga_guest_get_osinfo(), Thomas Huth, 2020/12/09
- [PULL 07/13] tests/qtest/fuzz-test: Quit test_lp1878642 once done, Thomas Huth, 2020/12/09
- [PULL 11/13] gitlab-ci: Move user-static test across to gitlab, Thomas Huth, 2020/12/09
- [PULL 12/13] gitlab-ci: Move coroutine tests across to gitlab, Thomas Huth, 2020/12/09
- [PULL 10/13] gitlab-ci: Update 'build-disabled' to cover all configurable options, Thomas Huth, 2020/12/09
- [PULL 13/13] hw/m68k/mcf5206: Don't leak IRQs in mcf5206_mbar_realize(), Thomas Huth, 2020/12/09
- [PULL 09/13] gitlab-ci: Split CONFIGURE_ARGS one argument per line for build-disabled, Thomas Huth, 2020/12/09
- [PULL 08/13] fuzz: avoid double-fetches by default,
Thomas Huth <=
- Re: [PULL 00/13] Gitlab-CI and test patches, Peter Maydell, 2020/12/09