Re: [Xen-devel] [PATCH 03/14] fuzz/x86_emulate: Actually use cpu_regs input

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:32PM +0100, George Dunlap wrote: > Commit c07574b reorganized the way fuzzing was done, explicitly > creating a structure that the input data would be copied into. > > Unfortunately, the cpu register state used by the emulator is on the > stack; it's cleared, but data

[Xen-devel] [PATCH 03/14] fuzz/x86_emulate: Actually use cpu_regs input

2017-08-25 Thread George Dunlap
Commit c07574b reorganized the way fuzzing was done, explicitly creating a structure that the input data would be copied into. Unfortunately, the cpu register state used by the emulator is on the stack; it's cleared, but data is never copied into it. If we're explicitly setting an entirely new cp