예제 #1
0
 public static uint CreateAndWaitForThread(this Process process, ulong startAddress, ulong argumentAddress, out ulong threadHandle)
 {
     threadHandle = NT.CreateRemoteThread(process.Handle, 0, 0, startAddress, argumentAddress, 0, out ulong threadId);
     NTM.WaitForThread(threadHandle);
     return(NTM.GetThreadExitCode(threadHandle));
 }
예제 #2
0
 public static ulong CreateThread(this Process process, ulong startAddress, ulong argumentAddress, out ulong threadId)
 {
     return(NT.CreateRemoteThread(process.Handle, 0, 0, startAddress, argumentAddress, 0, out threadId));
 }