fix kdmaper adjust loading method
This commit is contained in:
@@ -6,9 +6,8 @@ using namespace std;
|
||||
|
||||
#define IOCTL_MMCOPY CTL_CODE(FILE_DEVICE_UNKNOWN, 0x9512, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_MMCOPYEX CTL_CODE(FILE_DEVICE_UNKNOWN, 0x9513, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
|
||||
|
||||
#define IOCTL_GETKERMODUL CTL_CODE(FILE_DEVICE_UNKNOWN, 0x9514, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_QERYINFO CTL_CODE(FILE_DEVICE_UNKNOWN, 0x9515, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
namespace kd_driver
|
||||
{
|
||||
@@ -27,9 +26,11 @@ namespace kd_driver
|
||||
bool MmCopy(HANDLE device_handle, uint64_t Base, uint64_t Buffer, SIZE_T Size);
|
||||
bool read(HANDLE device_handle, uint64_t Base, uint64_t* Buffer, SIZE_T Size);
|
||||
bool write(HANDLE device_handle, uint64_t Base, uint64_t* Buffer, SIZE_T Size);
|
||||
uint64_t kernelmoduel(HANDLE device_handle, const char* module_names);
|
||||
|
||||
bool writeEx(HANDLE device_handle, uint64_t Base, uint64_t* Buffer, SIZE_T Size);
|
||||
|
||||
NTSTATUS QuerySystemInformation(HANDLE device_handle, SYSTEM_INFORMATION_CLASS SystemInformationClass, PVOID SystemInformation, ULONG SystemInformationLength, PULONG ReturnLength);
|
||||
|
||||
bool MdlIoSpace(HANDLE device_handle, uint64_t address, uint64_t* Buffer, SIZE_T Size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user