fuzz: Add support for custom crossover functions
commitf81cb729be3268d84bd5755dd6ce934972a5ac8d
authorAlexander Bulekov <alxndr@bu.edu>
Fri, 23 Oct 2020 15:07:36 +0000 (23 11:07 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 26 Oct 2020 08:53:53 +0000 (26 09:53 +0100)
tree82681d7ffde05bcbbcae668be367ed07c0f52859
parenta3c20e91dea6f7af64d886b05d678839b7b1a14c
fuzz: Add support for custom crossover functions

libfuzzer supports a "custom crossover function". Libfuzzer often tries
to blend two inputs to create a new interesting input. Sometimes, we
have a better idea about how to blend inputs together. This change
allows fuzzers to specify a custom function for blending two inputs
together.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20201023150746.107063-8-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/fuzz.c
tests/qtest/fuzz/fuzz.h