summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlexander Bulekov2021-07-13 17:00:35 +0200
committerAlexander Bulekov2021-09-01 13:33:13 +0200
commit993f52f4d43ddcddcb6f68b79a528599f4f099f9 (patch)
tree8e0058355365985417189a686f215a647ed40a99 /configure
parentfuzz: fix sparse memory access in the DMA callback (diff)
downloadqemu-993f52f4d43ddcddcb6f68b79a528599f4f099f9.tar.gz
qemu-993f52f4d43ddcddcb6f68b79a528599f4f099f9.tar.xz
qemu-993f52f4d43ddcddcb6f68b79a528599f4f099f9.zip
fuzz: adjust timeout to allow for longer inputs
Using a custom timeout is useful to continue fuzzing complex devices, even after we run into some slow code-path. However, simply adding a fixed timeout to each input effectively caps the maximum input length/number of operations at some artificial value. There are two major problems with this: 1. Some code might only be reachable through long IO sequences. 2. Longer inputs can actually be _better_ for performance. While the raw number of fuzzer executions decreases with larger inputs, the number of MMIO/PIO/DMA operation/second actually increases, since were are speding proportionately less time fork()ing. With this change, we keep the custom-timeout, but we renew it, prior to each MMIO/PIO/DMA operation. Thus, we time-out only when a specific operation takes a long time. Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions