fuzz: Add fuzzer callbacks to DMA-read functions
commita3c20e91dea6f7af64d886b05d678839b7b1a14c
authorAlexander Bulekov <alxndr@bu.edu>
Fri, 23 Oct 2020 15:07:35 +0000 (23 11:07 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 26 Oct 2020 08:53:53 +0000 (26 09:53 +0100)
tree67c99697c70256521950b249800338e1da7b4bea
parente7d3222e2e07e2a1a0aac979ef1fa5e8ef59f02c
fuzz: Add fuzzer callbacks to DMA-read functions

We should be careful to not call any functions besides fuzz_dma_read_cb.
Without --enable-fuzzing, fuzz_dma_read_cb is an empty inlined function.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20201023150746.107063-7-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/exec/memory.h
include/exec/memory_ldst_cached.h.inc
memory_ldst.c.inc
softmmu/memory.c
softmmu/physmem.c