>>> On 13.10.17 at 11:22, <george.dun...@citrix.com> wrote: > On 10/12/2017 04:16 PM, Jan Beulich wrote: >>>>> On 11.10.17 at 19:52, <george.dun...@citrix.com> wrote: >>> @@ -761,12 +757,11 @@ static void disable_hooks(struct x86_emulate_ctxt >>> *ctxt) >>> static void sanitize_input(struct x86_emulate_ctxt *ctxt) >>> { >>> struct fuzz_state *s = ctxt->data; >>> - struct fuzz_corpus *c = s->corpus; >>> - struct cpu_user_regs *regs = &c->regs; >>> - unsigned long bitmap = c->options; >>> + struct cpu_user_regs *regs = ctxt->regs; >>> + unsigned long bitmap = s->options; >>> >>> /* Some hooks can't be disabled. */ >>> - c->options &= ~((1<<HOOK_read)|(1<<HOOK_insn_fetch)); >>> + s->options &= ~((1<<HOOK_read)|(1<<HOOK_insn_fetch)); >> >> Mind adding the missing blanks here while you touch this? > > Like this? > > s->options &= ~((1<<HOOK_read) | (1<<HOOK_insn_fetch));
Even farther (at the same time adding the missing number suffixes): s->options &= ~((1UL << HOOK_read) | (1UL << HOOK_insn_fetch)); Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel