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

Alexander Bulekov posted 2 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210314042358.682136-1-alxndr@bu.edu
Maintainers: Alexander Bulekov <alxndr@bu.edu>, Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>
docs/devel/fuzzing.rst                |  45 ++++++++
scripts/oss-fuzz/output_reproducer.py | 160 ++++++++++++++++++++++++++
2 files changed, 205 insertions(+)
create mode 100755 scripts/oss-fuzz/output_reproducer.py
[PATCH 0/2] fuzz: add a script to help build reproducers
Posted by Alexander Bulekov 3 years, 1 month 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.


Alexander Bulekov (2):
  fuzz: add a script to build reproducers
  fuzz: add instructions for building reproducers

 docs/devel/fuzzing.rst                |  45 ++++++++
 scripts/oss-fuzz/output_reproducer.py | 160 ++++++++++++++++++++++++++
 2 files changed, 205 insertions(+)
 create mode 100755 scripts/oss-fuzz/output_reproducer.py

-- 
2.28.0


Re: [PATCH 0/2] fuzz: add a script to help build reproducers
Posted by Alexander Bulekov 3 years, 1 month ago
Here are examples of code generated by the script:
https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06027.html
https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06028.html
https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06029.html

On 210313 2323, Alexander Bulekov wrote:
> 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.
> 
> 
> Alexander Bulekov (2):
>   fuzz: add a script to build reproducers
>   fuzz: add instructions for building reproducers
> 
>  docs/devel/fuzzing.rst                |  45 ++++++++
>  scripts/oss-fuzz/output_reproducer.py | 160 ++++++++++++++++++++++++++
>  2 files changed, 205 insertions(+)
>  create mode 100755 scripts/oss-fuzz/output_reproducer.py
> 
> -- 
> 2.28.0
>