On Fri, 2018-01-12 at 18:00 +0000, Andrew Cooper wrote: > +#ifdef CONFIG_INDIRECT_THUNK > + /* callq __x86_indirect_thunk_rcx */ > + ctxt->io_emul_stub[10] = 0xe8; > + *(int32_t *)&ctxt->io_emul_stub[11] = > + (unsigned long)__x86_indirect_thunk_rcx - (stub_va + 11 + 4); > + > +#else
Is that always guaranteed to be within a 32-bit offset? It's from the stack, isn't it? Even if it's true now, do we need a sanity check just to make *sure* things never get changed around and make it untrue?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel