mbox

[PULL,00/10] Replace fork-based fuzzing with reboots

Message ID 20230217040855.16873-1-alxndr@bu.edu (mailing list archive)
State New, archived
Headers show

Pull-request

https://gitlab.com/a1xndr/qemu/ tags/pr-2023-02-16

Message

Alexander Bulekov Feb. 17, 2023, 4:08 a.m. UTC
Hi Peter,
The following changes since commit 6dffbe36af79e26a4d23f94a9a1c1201de99c261:

  Merge tag 'migration-20230215-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-02-16 13:09:51 +0000)

are available in the Git repository at:

  https://gitlab.com/a1xndr/qemu/ tags/pr-2023-02-16

for you to fetch changes up to 7d9e5f18a94792ed875a1caed2bfcd1e68a49481:

  docs/fuzz: remove mentions of fork-based fuzzing (2023-02-16 23:02:46 -0500)

----------------------------------------------------------------
Replace fork-based fuzzing with reboots.
Now the fuzzers will reboot the guest between inputs.

----------------------------------------------------------------
Alexander Bulekov (10):
      hw/sparse-mem: clear memory on reset
      fuzz: add fuzz_reset API
      fuzz/generic-fuzz: use reboots instead of forks to reset state
      fuzz/generic-fuzz: add a limit on DMA bytes written
      fuzz/virtio-scsi: remove fork-based fuzzer
      fuzz/virtio-net: remove fork-based fuzzer
      fuzz/virtio-blk: remove fork-based fuzzer
      fuzz/i440fx: remove fork-based fuzzer
      fuzz: remove fork-fuzzing scaffolding
      docs/fuzz: remove mentions of fork-based fuzzing

 docs/devel/fuzzing.rst              |  22 +------
 hw/mem/sparse-mem.c                 |  13 +++-
 meson.build                         |   4 --
 tests/qtest/fuzz/fork_fuzz.c        |  41 -------------
 tests/qtest/fuzz/fork_fuzz.h        |  23 -------
 tests/qtest/fuzz/fork_fuzz.ld       |  56 -----------------
 tests/qtest/fuzz/fuzz.c             |   6 ++
 tests/qtest/fuzz/fuzz.h             |   2 +-
 tests/qtest/fuzz/generic_fuzz.c     | 119 ++++++++----------------------------
 tests/qtest/fuzz/i440fx_fuzz.c      |  27 +-------
 tests/qtest/fuzz/meson.build        |   6 +-
 tests/qtest/fuzz/virtio_blk_fuzz.c  |  51 +++-------------
 tests/qtest/fuzz/virtio_net_fuzz.c  |  54 ++--------------
 tests/qtest/fuzz/virtio_scsi_fuzz.c |  51 +++-------------
 14 files changed, 71 insertions(+), 404 deletions(-)
 delete mode 100644 tests/qtest/fuzz/fork_fuzz.c
 delete mode 100644 tests/qtest/fuzz/fork_fuzz.h
 delete mode 100644 tests/qtest/fuzz/fork_fuzz.ld

Comments

Peter Maydell Feb. 21, 2023, 1:14 p.m. UTC | #1
On Fri, 17 Feb 2023 at 04:09, Alexander Bulekov <alxndr@bu.edu> wrote:
>
> Hi Peter,
> The following changes since commit 6dffbe36af79e26a4d23f94a9a1c1201de99c261:
>
>   Merge tag 'migration-20230215-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-02-16 13:09:51 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/a1xndr/qemu/ tags/pr-2023-02-16
>
> for you to fetch changes up to 7d9e5f18a94792ed875a1caed2bfcd1e68a49481:
>
>   docs/fuzz: remove mentions of fork-based fuzzing (2023-02-16 23:02:46 -0500)
>
> ----------------------------------------------------------------
> Replace fork-based fuzzing with reboots.
> Now the fuzzers will reboot the guest between inputs.
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.

-- PMM