diff options
author | segfault <toni@impl.cc> | 2021-04-23 13:16:47 +0200 |
---|---|---|
committer | segfault <toni@impl.cc> | 2021-04-23 13:16:47 +0200 |
commit | efdfbef8a67467fac3d19eaf036963cdbece59e6 (patch) | |
tree | 8b5f1b3fe4194f6e623250b94490b8a2c31ed9ba /include | |
parent | 791a8c5475e2291ff2c2526a1468ff42fc0328c8 (diff) |
Removed unused / unstable / untested features.
Diffstat (limited to 'include')
-rw-r--r-- | include/KInterface.h | 5 | ||||
-rw-r--r-- | include/KMemDriver.h | 13 |
2 files changed, 1 insertions, 17 deletions
diff --git a/include/KInterface.h b/include/KInterface.h index 55137e8..db2f40d 100644 --- a/include/KInterface.h +++ b/include/KInterface.h @@ -43,7 +43,6 @@ public: PKERNEL_WRITE_REQUEST result); bool VAlloc(HANDLE targetPID, PVOID* address, SIZE_T* size, ULONG protection); bool VFree(HANDLE targetPID, PVOID address, SIZE_T size); - bool VUnlink(HANDLE targetPID, PVOID address); bool MtInit() { std::unique_lock<std::mutex> lck(m_jobLock); @@ -89,10 +88,6 @@ public: std::unique_lock<std::mutex> lck(m_jobLock); return VFree(targetPID, address, size); } - bool MtVUnlink(HANDLE targetPID, PVOID address) { - std::unique_lock<std::mutex> lck(m_jobLock); - return VUnlink(targetPID, address); - } PVOID getBuffer(); HANDLE getKHandle(); diff --git a/include/KMemDriver.h b/include/KMemDriver.h index 778006c..db00010 100644 --- a/include/KMemDriver.h +++ b/include/KMemDriver.h @@ -30,8 +30,7 @@ typedef _Return_type_success_(return >= 0) LONG NTSTATUS; #define MEM_WPM 0x806 #define MEM_VALLOC 0x807 #define MEM_VFREE 0x808 -#define MEM_VUNLINK 0x809 -#define MEM_EXIT 0x810 +#define MEM_EXIT 0x809 typedef struct _KERNEL_HEADER { @@ -133,15 +132,6 @@ typedef struct _KERNEL_VFREE_REQUEST NTSTATUS StatusRes; } KERNEL_VFREE_REQUEST, * PKERNEL_VFREE_REQUEST; -typedef struct _KERNEL_VUNLINK_REQUEST -{ - KERNEL_HEADER hdr; - HANDLE ProcessId; - PVOID Address; - - NTSTATUS StatusRes; -} KERNEL_VUNLINK_REQUEST, * PKERNEL_VUNLINK_REQUEST; - typedef struct _PROCESS_DATA { ULONG NumberOfThreads; @@ -194,7 +184,6 @@ validateRequest case MEM_WPM: case MEM_VALLOC: case MEM_VFREE: - case MEM_VUNLINK: case MEM_EXIT: return hdr->type; default: |