qemu/scripts/oss-fuzz
Alexander Bulekov 97ef5f8862 fuzz: add a script to build reproducers
Currently, bash and C crash reproducers are be built manually. This is a
problem, as we want to integrate reproducers into the tree, for
regression testing. This patch adds a script that converts a sequence of
QTest commands into a pasteable Bash reproducer, or a libqtest-based C
program. This will try to wrap pasteable reproducers to 72 chars, but
the generated C code will not have nice formatting. Therefore, the C
output of this script should be piped through an auto-formatter, such as
clang-format

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-16 14:19:54 -04:00
..
build.sh scripts/oss-fuzz: give all fuzzers -target names 2020-11-10 08:51:30 +01:00
minimize_qtest_trace.py fuzz: fix wrong index in clear_bits 2021-02-08 14:43:54 +01:00
output_reproducer.py fuzz: add a script to build reproducers 2021-03-16 14:19:54 -04:00
reorder_fuzzer_qtest_trace.py