summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/introspect.py
diff options
context:
space:
mode:
authorAlexander Bulekov2021-08-04 15:56:20 +0200
committerAlexander Bulekov2021-09-01 13:33:13 +0200
commit40c0d963db2a9d4a49c15554817bbaa11e0bed47 (patch)
tree4bbb0993504f4e51d07ba0974b6e2fef5a1016cc /scripts/qapi/introspect.py
parentfuzz: add an instrumentation filter (diff)
downloadqemu-40c0d963db2a9d4a49c15554817bbaa11e0bed47.tar.gz
qemu-40c0d963db2a9d4a49c15554817bbaa11e0bed47.tar.xz
qemu-40c0d963db2a9d4a49c15554817bbaa11e0bed47.zip
fuzz: use ITIMER_REAL for timeouts
Using ITIMER_VIRTUAL is a bad idea, if the fuzzer hits a blocking syscall - e.g. ppoll with a NULL timespec. This causes timeout issues while fuzzing some block-device code. Fix that by using wall-clock time. This might cause inputs to timeout sometimes due to scheduling effects/ambient load, but it is better than bringing the entire fuzzing process to a halt. Based-on: <20210713150037.9297-1-alxndr@bu.edu> Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions