-
由 Alexander Bulekov 提交于
tests/fuzz/fuzz.c serves as the entry point for the virtual-device fuzzer. Namely, libfuzzer invokes the LLVMFuzzerInitialize and LLVMFuzzerTestOneInput functions, both of which are defined in this file. This change adds a "FuzzTarget" struct, along with the fuzz_add_target function, which should be used to define new fuzz targets. Signed-off-by: NAlexander Bulekov <alxndr@bu.edu> Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com> Reviewed-by: NDarren Kenny <darren.kenny@oracle.com> Message-id: 20200220041118.23264-13-alxndr@bu.edu Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
5f6fd09a