fuzz/x86_emulate: Move definitions into a header
authorGeorge Dunlap <george.dunlap@citrix.com>
Wed, 11 Oct 2017 17:49:43 +0000 (18:49 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 11 Oct 2017 22:35:28 +0000 (23:35 +0100)
commitc4e365a0eb3cb6c9dedfaf0c13b0a2ce62f49cf6
treec9ad4162e6a850153869fd4b674d4bbf0a9c6ca3
parent2b1cde778318564d4fc040773d45d0adc07da73a
fuzz/x86_emulate: Move definitions into a header

Move fuzz-emul.c function prototypes into a header.  Also share the
definition of the input size (rather than hard-coding it in
fuzz-emul.c).

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
tools/fuzz/x86_instruction_emulator/afl-harness.c
tools/fuzz/x86_instruction_emulator/fuzz-emul.c
tools/fuzz/x86_instruction_emulator/fuzz-emul.h [new file with mode: 0644]