mbox series

[v2,0/2] fuzz: Skip QTest serialization

Message ID 20200529180210.28120-1-alxndr@bu.edu (mailing list archive)
Headers show
Series fuzz: Skip QTest serialization | expand

Message

Alexander Bulekov May 29, 2020, 6:02 p.m. UTC
In the same vein as Philippe's patch:

https://patchew.org/QEMU/20200528165303.1877-1-f4bug@amsat.org/

This uses linker trickery to wrap calls to libqtest functions and
directly call the corresponding read/write functions, rather than
relying on the ASCII-serialized QTest protocol.

v2: applies properly

Alexander Bulekov (2):
  fuzz: skip QTest serialization
  fuzz: Add support for logging QTest commands

 tests/qtest/fuzz/Makefile.include | 21 +++++++++++++++++++++
 tests/qtest/fuzz/fuzz.c           | 22 +++++++++++++++++++++-
 tests/qtest/fuzz/fuzz.h           |  3 +++
 3 files changed, 45 insertions(+), 1 deletion(-)