[PATCH 0/2] fuzz: Skip QTest serialization

Alexander Bulekov posted 2 patches 3 years, 11 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
tests/qtest/fuzz/Makefile.include |  21 +++
tests/qtest/fuzz/fuzz.c           |  20 ++-
tests/qtest/fuzz/fuzz.h           |   3 +
tests/qtest/fuzz/qtest_wrappers.c | 252 ++++++++++++++++++++++++++++++
4 files changed, 295 insertions(+), 1 deletion(-)
create mode 100644 tests/qtest/fuzz/qtest_wrappers.c
[PATCH 0/2] fuzz: Skip QTest serialization
Posted by Alexander Bulekov 3 years, 11 months ago
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.


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           |  20 ++-
 tests/qtest/fuzz/fuzz.h           |   3 +
 tests/qtest/fuzz/qtest_wrappers.c | 252 ++++++++++++++++++++++++++++++
 4 files changed, 295 insertions(+), 1 deletion(-)
 create mode 100644 tests/qtest/fuzz/qtest_wrappers.c

-- 
2.26.2