summary refs log tree commit diff stats
path: root/scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2020-10-23 11:07:42 -0400
committerThomas Huth <thuth@redhat.com>2020-10-26 09:53:53 +0100
commit82849bcf30b5a1dfac6c1d7642a243c2f7bd6a6f (patch)
tree404b041f77eae9f57f292b05031e258ea490dede /scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py
parent2f2e036ca6e2c4d15841f6d29a17c2ae0961aca8 (diff)
downloadfocaccia-qemu-82849bcf30b5a1dfac6c1d7642a243c2f7bd6a6f.tar.gz
focaccia-qemu-82849bcf30b5a1dfac6c1d7642a243c2f7bd6a6f.zip
fuzz: add an "opaque" to the FuzzTarget struct
It can be useful to register FuzzTargets that have nearly-identical
initialization handlers (e.g. for using the same fuzzing code, with
different configuration options). Add an opaque pointer to the
FuzzTarget struct, so that FuzzTargets can hold some data, useful for
storing target-specific configuration options, that can be read by the
get_init_cmdline function.

Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201023150746.107063-14-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py')
0 files changed, 0 insertions, 0 deletions