Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Side by Side Diff: sandbox/win/src/interceptors.h

Issue 1225183003: CreateThread interception, to use CreateRemoteThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix up casts Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sandbox/win/src/interceptors_64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_SRC_INTERCEPTORS_H_ 5 #ifndef SANDBOX_SRC_INTERCEPTORS_H_
6 #define SANDBOX_SRC_INTERCEPTORS_H_ 6 #define SANDBOX_SRC_INTERCEPTORS_H_
7 7
8 #if defined(_WIN64) 8 #if defined(_WIN64)
9 #include "sandbox/win/src/interceptors_64.h" 9 #include "sandbox/win/src/interceptors_64.h"
10 #endif 10 #endif
(...skipping 16 matching lines...) Expand all
27 CREATE_FILE_ID, 27 CREATE_FILE_ID,
28 OPEN_FILE_ID, 28 OPEN_FILE_ID,
29 QUERY_ATTRIB_FILE_ID, 29 QUERY_ATTRIB_FILE_ID,
30 QUERY_FULL_ATTRIB_FILE_ID, 30 QUERY_FULL_ATTRIB_FILE_ID,
31 SET_INFO_FILE_ID, 31 SET_INFO_FILE_ID,
32 // Named pipe dispatcher: 32 // Named pipe dispatcher:
33 CREATE_NAMED_PIPE_ID, 33 CREATE_NAMED_PIPE_ID,
34 // Process-thread dispatcher: 34 // Process-thread dispatcher:
35 CREATE_PROCESSW_ID, 35 CREATE_PROCESSW_ID,
36 CREATE_PROCESSA_ID, 36 CREATE_PROCESSA_ID,
37 CREATE_THREAD_ID,
37 // Registry dispatcher: 38 // Registry dispatcher:
38 CREATE_KEY_ID, 39 CREATE_KEY_ID,
39 OPEN_KEY_ID, 40 OPEN_KEY_ID,
40 OPEN_KEY_EX_ID, 41 OPEN_KEY_EX_ID,
41 // Sync dispatcher: 42 // Sync dispatcher:
42 CREATE_EVENT_ID, 43 CREATE_EVENT_ID,
43 OPEN_EVENT_ID, 44 OPEN_EVENT_ID,
44 // Process mitigations Win32k dispatcher: 45 // Process mitigations Win32k dispatcher:
45 GDIINITIALIZE_ID, 46 GDIINITIALIZE_ID,
46 GETSTOCKOBJECT_ID, 47 GETSTOCKOBJECT_ID,
47 REGISTERCLASSW_ID, 48 REGISTERCLASSW_ID,
48 INTERCEPTOR_MAX_ID 49 INTERCEPTOR_MAX_ID
49 }; 50 };
50 51
51 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; 52 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID];
52 53
53 } // namespace sandbox 54 } // namespace sandbox
54 55
55 #endif // SANDBOX_SRC_INTERCEPTORS_H_ 56 #endif // SANDBOX_SRC_INTERCEPTORS_H_
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/src/interceptors_64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698