| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 5 |
| 6 #include "sandbox/sandbox_poc/pocdll/exports.h" | 6 #include "sandbox/win/sandbox_poc/pocdll/exports.h" |
| 7 #include "sandbox/sandbox_poc/pocdll/utils.h" | 7 #include "sandbox/win/sandbox_poc/pocdll/utils.h" |
| 8 | 8 |
| 9 BOOL APIENTRY DllMain(HMODULE module, | 9 BOOL APIENTRY DllMain(HMODULE module, |
| 10 DWORD reason_for_call, | 10 DWORD reason_for_call, |
| 11 LPVOID reserved) { | 11 LPVOID reserved) { |
| 12 UNREFERENCED_PARAMETER(module); | 12 UNREFERENCED_PARAMETER(module); |
| 13 UNREFERENCED_PARAMETER(reason_for_call); | 13 UNREFERENCED_PARAMETER(reason_for_call); |
| 14 UNREFERENCED_PARAMETER(reserved); | 14 UNREFERENCED_PARAMETER(reserved); |
| 15 return TRUE; | 15 return TRUE; |
| 16 } | 16 } |
| 17 | 17 |
| 18 void POCDLL_API Run(HANDLE log) { | 18 void POCDLL_API Run(HANDLE log) { |
| 19 TestFileSystem(log); | 19 TestFileSystem(log); |
| 20 TestRegistry(log); | 20 TestRegistry(log); |
| 21 TestNetworkListen(log); | 21 TestNetworkListen(log); |
| 22 TestSpyScreen(log); | 22 TestSpyScreen(log); |
| 23 TestSpyKeys(log); | 23 TestSpyKeys(log); |
| 24 TestThreads(log); | 24 TestThreads(log); |
| 25 TestProcesses(log); | 25 TestProcesses(log); |
| 26 TestGetHandle(log); | 26 TestGetHandle(log); |
| 27 } | 27 } |
| OLD | NEW |