diff options
author | Alexander Bulekov <alxndr@bu.edu> | 2020-02-19 23:11:08 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-02-22 08:26:48 +0000 |
commit | 5f6fd09a9729d31225b6eaec5df05d19a5bdfda4 (patch) | |
tree | a436e26c445ff6c9f225782700fef99db097e751 /exec.c | |
parent | f62a0bff6a5266e7d434de2e1b01fb1f925a9796 (diff) |
fuzz: add fuzzer skeleton
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: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200220041118.23264-13-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions