Index: sandbox/win/src/interceptors_64.cc |
diff --git a/sandbox/win/src/interceptors_64.cc b/sandbox/win/src/interceptors_64.cc |
index cdef94345c3c7487fe421b57dbe89b93c974d883..a9b38b69ddfa2ab773f9505db87b348e1c800886 100644 |
--- a/sandbox/win/src/interceptors_64.cc |
+++ b/sandbox/win/src/interceptors_64.cc |
@@ -201,6 +201,20 @@ SANDBOX_INTERCEPT BOOL WINAPI TargetCreateProcessA64( |
process_information); |
} |
+SANDBOX_INTERCEPT HANDLE WINAPI |
+TargetCreateThread64(LPSECURITY_ATTRIBUTES thread_attributes, |
+ SIZE_T stack_size, |
+ LPTHREAD_START_ROUTINE start_address, |
+ PVOID parameter, |
+ DWORD creation_flags, |
+ LPDWORD thread_id) { |
+ CreateThreadFunction orig_fn = |
+ reinterpret_cast<CreateThreadFunction>(g_originals[CREATE_THREAD_ID]); |
+ return TargetCreateThread(orig_fn, thread_attributes, stack_size, |
+ start_address, parameter, creation_flags, |
+ thread_id); |
+} |
+ |
// ----------------------------------------------------------------------- |
SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtCreateKey64( |