Index: sandbox/win/src/interceptors_64.h |
diff --git a/sandbox/win/src/interceptors_64.h b/sandbox/win/src/interceptors_64.h |
index 7368ceb845046d46566685d74bdf0ce15602b73a..16d1c9fb6acf3f7ab5911114e1e886eea291256f 100644 |
--- a/sandbox/win/src/interceptors_64.h |
+++ b/sandbox/win/src/interceptors_64.h |
@@ -122,6 +122,15 @@ SANDBOX_INTERCEPT BOOL WINAPI TargetCreateProcessA64( |
LPVOID environment, LPCSTR current_directory, LPSTARTUPINFOA startup_info, |
LPPROCESS_INFORMATION process_information); |
+// Interception of CreateThread in kernel32.dll. |
+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); |
+ |
// ----------------------------------------------------------------------- |
// Interceptors handled by the registry dispatcher. |