internal NtOpenProcess(Tools syscallTools) { _ntOpenProcessDelegate = syscallTools.CreateDelegateForSyscall <NtOpenProcessDefinition>(); }
internal NtOpenProcess(IntPtr shellcodeAddress) { _ntOpenProcessDelegate = Marshal.GetDelegateForFunctionPointer <NtOpenProcessDefinition>(shellcodeAddress); }