Merge pull request #37 from oicu0619/master

fix ReadKernelVM WriteKernelVM arguments
This commit is contained in:
hfiref0x 2022-10-25 19:13:57 +07:00 committed by GitHub
commit bdcd26557d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ BOOL KDUControlProcess(
Buffer = 0;
if (Context->Provider->Callbacks.ReadKernelVM(Context,
if (Context->Provider->Callbacks.ReadKernelVM(Context->DeviceHandle,
VirtualAddress,
&Buffer,
sizeof(ULONG)))
@ -204,7 +204,7 @@ BOOL KDUControlProcess(
PsProtection->Type = PsProtectedTypeNone;
PsProtection->Audit = 0;
bResult = Context->Provider->Callbacks.WriteKernelVM(Context,
bResult = Context->Provider->Callbacks.WriteKernelVM(Context->DeviceHandle,
VirtualAddress,
&Buffer,
sizeof(ULONG));