internal NtWriteVirtualMemory(IntPtr shellcodeAddress) { _ntWriteVirtualMemoryDelegate = Marshal.GetDelegateForFunctionPointer <NtWriteVirtualMemoryDefinition>(shellcodeAddress); }
internal NtWriteVirtualMemory(Tools syscallTools) { _ntWriteVirtualMemoryDelegate = syscallTools.CreateDelegateForSyscall <NtWriteVirtualMemoryDefinition>(); }