[RFC PATCH 0/5] fuzz: add a script to help build reproducers

Alexander Bulekov posted 5 patches 3 years, 3 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210218211224.2513413-1-alxndr@bu.edu
Maintainers: Bandan Das <bsd@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Thomas Huth <thuth@redhat.com>, Alexander Bulekov <alxndr@bu.edu>
There is a newer version of this series
docs/devel/fuzzing.rst                |    45 +
scripts/oss-fuzz/output_reproducer.py |   161 +
tests/qtest/fuzz-sdhci.c              |   422 +
tests/qtest/fuzz-xhci.c               | 24767 ++++++++++++++++++++++++
tests/qtest/meson.build               |     3 +
5 files changed, 25398 insertions(+)
create mode 100755 scripts/oss-fuzz/output_reproducer.py
create mode 100644 tests/qtest/fuzz-sdhci.c
create mode 100644 tests/qtest/fuzz-xhci.c
[RFC PATCH 0/5] fuzz: add a script to help build reproducers
Posted by Alexander Bulekov 3 years, 3 months ago
Hello,
This series adds a script that can be handy for reporting fuzzer bugs
and creating regression-tests, based on crash reproducers

Patch 1 adds a script that can help create bash and C reproducers for
crashes.
Patch 2 documents the process of building reproducers.
Patches 3-5 are examples of C reproducers built with the script from
Patch 1.

Alexander Bulekov (5):
  fuzz: add a script to build reproducers
  fuzz: add instructions for building reproducers
  tests: add a sdhci reproducer
  tests: add another sdhci reproducer
  tests: add a xhci reproducer

 docs/devel/fuzzing.rst                |    45 +
 scripts/oss-fuzz/output_reproducer.py |   161 +
 tests/qtest/fuzz-sdhci.c              |   422 +
 tests/qtest/fuzz-xhci.c               | 24767 ++++++++++++++++++++++++
 tests/qtest/meson.build               |     3 +
 5 files changed, 25398 insertions(+)
 create mode 100755 scripts/oss-fuzz/output_reproducer.py
 create mode 100644 tests/qtest/fuzz-sdhci.c
 create mode 100644 tests/qtest/fuzz-xhci.c

-- 
2.28.0