| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/common/sandbox_win.h" | 5 #include "content/common/sandbox_win.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 namespace content { | 37 namespace content { |
| 38 namespace { | 38 namespace { |
| 39 | 39 |
| 40 // The DLLs listed here are known (or under strong suspicion) of causing crashes | 40 // The DLLs listed here are known (or under strong suspicion) of causing crashes |
| 41 // when they are loaded in the renderer. Note: at runtime we generate short | 41 // when they are loaded in the renderer. Note: at runtime we generate short |
| 42 // versions of the dll name only if the dll has an extension. | 42 // versions of the dll name only if the dll has an extension. |
| 43 // For more information about how this list is generated, and how to get off | 43 // For more information about how this list is generated, and how to get off |
| 44 // of it, see: | 44 // of it, see: |
| 45 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers | 45 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers |
| 46 // If the size of this list exceeds 64, change kTroublesomeDllsMaxCount. | |
| 47 const wchar_t* const kTroublesomeDlls[] = { | 46 const wchar_t* const kTroublesomeDlls[] = { |
| 48 L"adialhk.dll", // Kaspersky Internet Security. | 47 L"adialhk.dll", // Kaspersky Internet Security. |
| 49 L"acpiz.dll", // Unknown. | 48 L"acpiz.dll", // Unknown. |
| 49 L"airfoilinject3.dll", // Airfoil. |
| 50 L"akinsofthook32.dll", // Akinsoft Software Engineering. | 50 L"akinsofthook32.dll", // Akinsoft Software Engineering. |
| 51 L"assistant_x64.dll", // Unknown. | 51 L"assistant_x64.dll", // Unknown. |
| 52 L"avcuf64.dll", // Bit Defender Internet Security x64. | 52 L"avcuf64.dll", // Bit Defender Internet Security x64. |
| 53 L"avgrsstx.dll", // AVG 8. | 53 L"avgrsstx.dll", // AVG 8. |
| 54 L"babylonchromepi.dll", // Babylon translator. | 54 L"babylonchromepi.dll", // Babylon translator. |
| 55 L"btkeyind.dll", // Widcomm Bluetooth. | 55 L"btkeyind.dll", // Widcomm Bluetooth. |
| 56 L"cmcsyshk.dll", // CMC Internet Security. | 56 L"cmcsyshk.dll", // CMC Internet Security. |
| 57 L"cmsetac.dll", // Unknown (suspected malware). | 57 L"cmsetac.dll", // Unknown (suspected malware). |
| 58 L"cooliris.dll", // CoolIris. | 58 L"cooliris.dll", // CoolIris. |
| 59 L"dockshellhook.dll", // Stardock Objectdock. | 59 L"dockshellhook.dll", // Stardock Objectdock. |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 } | 781 } |
| 782 | 782 |
| 783 return false; | 783 return false; |
| 784 } | 784 } |
| 785 | 785 |
| 786 bool BrokerAddTargetPeer(HANDLE peer_process) { | 786 bool BrokerAddTargetPeer(HANDLE peer_process) { |
| 787 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; | 787 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; |
| 788 } | 788 } |
| 789 | 789 |
| 790 } // namespace content | 790 } // namespace content |
| OLD | NEW |