summary refs log tree commit diff stats
path: root/hw/mem/sparse-mem.c
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2021-03-13 23:23:56 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-16 14:19:54 -0400
commit97ef5f8862e1442a8d1c6044e19aa19ce9d1e974 (patch)
treeac7e4768fd253b2d1dfd5db94166570bbba31ade /hw/mem/sparse-mem.c
parentd0614b8e7a365e64ebf2ed068754787fae34d501 (diff)
downloadfocaccia-qemu-97ef5f8862e1442a8d1c6044e19aa19ce9d1e974.tar.gz
focaccia-qemu-97ef5f8862e1442a8d1c6044e19aa19ce9d1e974.zip
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>
Diffstat (limited to 'hw/mem/sparse-mem.c')
0 files changed, 0 insertions, 0 deletions