tools/fuzz: Add a cpu-policy fuzzing harness

There is now enough complexity that a fuzzing harness is a good idea, and
enough supporting logic to implement one which AFL seems happy with.

Take the existing recalculate_synth() helper and export it as
x86_cpuid_policy_recalc_synth(), as it is needed by the fuzzing harness.

While editing the MAINTAINERS file, insert a related entry which was
accidentally missed from c/s 919ddc3c0 "tools/cpu-policy: Add unit tests", and
sort the lines.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2019-06-06 15:28:20 +01:00
1 parent 93883a2eab
commit a08243eb4a
6 files changed
+229 -5

No files matched your search

+3 -1
View File
@@ -449,8 +449,10 @@ F: xen/lib/x86
F: tools/firmware/hvmloader/
F: tools/firmware/rombios/
F: tools/firmware/vgabios/
F: tools/tests/x86_emulator/
F: tools/fuzz/cpu-policy/
F: tools/fuzz/x86_instruction_emulator/
F: tools/tests/cpu-policy/
F: tools/tests/x86_emulator/
X86 I/O EMULATION
M: Paul Durrant <paul.durrant@citrix.com>
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.