Home | History | Annotate | Download | only in pocdll
      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
      3 // found in the LICENSE file.
      4 
      5 
      6 #include "sandbox/win/sandbox_poc/pocdll/exports.h"
      7 #include "sandbox/win/sandbox_poc/pocdll/utils.h"
      8 
      9 BOOL APIENTRY DllMain(HMODULE module,
     10                       DWORD reason_for_call,
     11                       LPVOID reserved) {
     12   UNREFERENCED_PARAMETER(module);
     13   UNREFERENCED_PARAMETER(reason_for_call);
     14   UNREFERENCED_PARAMETER(reserved);
     15   return TRUE;
     16 }
     17 
     18 void POCDLL_API Run(HANDLE log) {
     19   TestFileSystem(log);
     20   TestRegistry(log);
     21   TestNetworkListen(log);
     22   TestSpyScreen(log);
     23   TestSpyKeys(log);
     24   TestThreads(log);
     25   TestProcesses(log);
     26   TestGetHandle(log);
     27 }
     28