You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been struggling with this issue for days and I've looked everywhere I knew would help, however, I'm still having a problem with this
I want to send a small buffer (~1KB) to the driver while the hypervisor is running.
I tried creating an IOCTL code specific for this along with the ioctl_enable_io_debugbreak_t::code which is already present.
I also tried implementing the on_write() driver function to get the buffer.
no matter the method, the buffer from the user app is always corrupted and the expected data is not present. (the correct size is passed) the buffer is mostly filled with 0xcccccccc along with some other random numbers.
I also tried the routine in copy_from_user function where IoAllocateMdl is used then MmProbeAndLockPages. the same kind of garbage is always returned.
any ideas?
The text was updated successfully, but these errors were encountered:
Hello,
I've been struggling with this issue for days and I've looked everywhere I knew would help, however, I'm still having a problem with this
I want to send a small buffer (~1KB) to the driver while the hypervisor is running.
I tried creating an IOCTL code specific for this along with the
ioctl_enable_io_debugbreak_t::code
which is already present.I also tried implementing the
on_write()
driver function to get the buffer.no matter the method, the buffer from the user app is always corrupted and the expected data is not present. (the correct size is passed) the buffer is mostly filled with
0xcccccccc
along with some other random numbers.I also tried the routine in
copy_from_user
function whereIoAllocateMdl
is used thenMmProbeAndLockPages
. the same kind of garbage is always returned.any ideas?
The text was updated successfully, but these errors were encountered: