| 117 | } |
| 118 | |
| 119 | void read(uintptr_t from, uintptr_t to, ULONGLONG size) |
| 120 | { |
| 121 | SIZE_T bytes = 0; |
| 122 | if (size || to || from) MmCopyVirtualMemory(process::target_process, (PVOID)from, process::process, (PVOID)to, size, KernelMode, &bytes); |
| 123 | |
| 124 | } |
| 125 | |
| 126 | template< typename T > |
| 127 | void writelocal(PVOID from, PVOID to) |