This is a subset of the previous fuzzing bugfix/improvement series, which is the minimum required to avoid hitting assertions in the emulator.
From a 4.9 point of view, this entirely userspace testing harness changes (so safe to take), but it allows us to sensibly fuzz the emulator in the hypervisor (rather than hitting a load of assertions). Andrew Cooper (7): MAINTAINERS: Move the x86 instruction emulator under x86 maintainership tools/insn-fuzz: Don't hit memcpy() for zero-length reads tools/insn-fuzz: Avoid making use of static data tools/insn-fuzz: Fix a stability bug in afl-clang-fast mode tools/insn-fuzz: Correct hook prototypes, and assert() appropriate segments tools/insn-fuzz: Provide IA32_DEBUGCTL consistently to the emulator tools/insn-fuzz: Fix assertion failures in x86_emulate_wrapper() MAINTAINERS | 1 + tools/fuzz/x86_instruction_emulator/fuzz-emul.c | 268 +++++++++++++++++------- tools/tests/x86_emulator/test_x86_emulator.c | 8 +- 3 files changed, 196 insertions(+), 81 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel