Re: [XEN PATCH v2] tools/misc: xen-hvmcrash: Inject #DF instead of overwriting RIP

2024-07-02 Thread Andrew Cooper
On 01/07/2024 3:47 pm, Matthew Barnes wrote: > diff --git a/tools/misc/xen-hvmcrash.c b/tools/misc/xen-hvmcrash.c > index 1d058fa40a47..efa47c9dfec8 100644 > --- a/tools/misc/xen-hvmcrash.c > +++ b/tools/misc/xen-hvmcrash.c > @@ -77,65 +66,22 @@ main(int argc, char **argv) > exit(1); >

[XEN PATCH v2] tools/misc: xen-hvmcrash: Inject #DF instead of overwriting RIP

2024-07-01 Thread Matthew Barnes
xen-hvmcrash would previously save records, overwrite the instruction pointer with a bogus value, and then restore them to crash a domain just enough to cause the guest OS to memdump. This approach is found to be unreliable when tested on a guest running Windows 10 x64, with some executions doing