fuzz/x86_emulate: Improve failure descriptions in x86_emulate harness
authorGeorge Dunlap <george.dunlap@citrix.com>
Wed, 11 Oct 2017 17:49:38 +0000 (18:49 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 11 Oct 2017 22:35:23 +0000 (23:35 +0100)
commite03583ac443934d10ce30728629fa7c19e664d8d
treee8a8d91c2a730851bdec2c89e8108c7ddf913fd5
parentcf72cfb0c8513c3f83dc9541312b12e7325f5c02
fuzz/x86_emulate: Improve failure descriptions in x86_emulate harness

- Print the symbolic name rather than the number
- Explicitly state when data_read() fails due to EOI

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/x86_instruction_emulator/fuzz-emul.c