Re: [Xen-devel] [PATCH v4 07/12] fuzz/x86_emulate: Move definitions into a header

2017-10-12 Thread Wei Liu
On Wed, Oct 11, 2017 at 06:52:38PM +0100, George Dunlap wrote: > 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 Reviewed-by: Wei Liu

[Xen-devel] [PATCH v4 07/12] fuzz/x86_emulate: Move definitions into a header

2017-10-11 Thread George Dunlap
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 --- RFC: Worth trying to BUILD_BUG_ON(INPUT_SIZE < DATA_SIZE_FULL)? v4: - Move earlier in the