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

Side by Side Diff: sandbox/win/src/process_thread_dispatcher.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 | « sandbox/win/src/process_policy_test.cc ('k') | sandbox/win/src/process_thread_dispatcher.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PROCESS_THREAD_DISPATCHER_H_ 5 #ifndef SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_
6 #define SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ 6 #define SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 uint32_t desired_access, 43 uint32_t desired_access,
44 uint32_t attributes); 44 uint32_t attributes);
45 45
46 // Processes IPC requests coming from calls to CreateProcessW() in the target. 46 // Processes IPC requests coming from calls to CreateProcessW() in the target.
47 bool CreateProcessW(IPCInfo* ipc, 47 bool CreateProcessW(IPCInfo* ipc,
48 base::string16* name, 48 base::string16* name,
49 base::string16* cmd_line, 49 base::string16* cmd_line,
50 base::string16* cur_dir, 50 base::string16* cur_dir,
51 CountedBuffer* info); 51 CountedBuffer* info);
52 52
53 // Processes IPC requests coming from calls to CreateThread() in the target.
54 bool CreateThread(IPCInfo* ipc,
55 SIZE_T stack_size,
56 LPTHREAD_START_ROUTINE start_address,
57 LPVOID parameter,
58 DWORD creation_flags);
59
53 PolicyBase* policy_base_; 60 PolicyBase* policy_base_;
54 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher); 61 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher);
55 }; 62 };
56 63
57 } // namespace sandbox 64 } // namespace sandbox
58 65
59 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ 66 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/process_policy_test.cc ('k') | sandbox/win/src/process_thread_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698