Test on windows vmware workstation 16.2.0, with guest os ubuntu server 22
At leat one usb device is be attached to guest machine
change the 'qh->field4' in the ehci.c code
Type 'sudo ./run.sh' to compile and run the poc
Example
use 'lsusb' to determine the device id, use the device id to set 'qh->field4'
vmx code will alloc a struct with 0x18 size (the size can be controlled in the code) buffer for reading guest physical memory.
the total size of this struct will be 0x400
address of this struct is 0x26d6caa80d0
in the end, vmx will read 0x800 size (can be controlled in the code) of physical memory into 0x2606CAA84C0, which is the last 0x10 byte of 0x26d6caa80d0 (first 0x8 is already readed at the alloc stage)