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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 namespace content { | 36 namespace content { |
37 namespace { | 37 namespace { |
38 | 38 |
39 // The DLLs listed here are known (or under strong suspicion) of causing crashes | 39 // The DLLs listed here are known (or under strong suspicion) of causing crashes |
40 // when they are loaded in the renderer. Note: at runtime we generate short | 40 // when they are loaded in the renderer. Note: at runtime we generate short |
41 // versions of the dll name only if the dll has an extension. | 41 // versions of the dll name only if the dll has an extension. |
42 const wchar_t* const kTroublesomeDlls[] = { | 42 const wchar_t* const kTroublesomeDlls[] = { |
43 L"adialhk.dll", // Kaspersky Internet Security. | 43 L"adialhk.dll", // Kaspersky Internet Security. |
44 L"acpiz.dll", // Unknown. | 44 L"acpiz.dll", // Unknown. |
45 L"aswjsflt.dll", // Avast Antivirus. | |
46 L"avgrsstx.dll", // AVG 8. | 45 L"avgrsstx.dll", // AVG 8. |
47 L"babylonchromepi.dll", // Babylon translator. | 46 L"babylonchromepi.dll", // Babylon translator. |
48 L"btkeyind.dll", // Widcomm Bluetooth. | 47 L"btkeyind.dll", // Widcomm Bluetooth. |
49 L"cmcsyshk.dll", // CMC Internet Security. | 48 L"cmcsyshk.dll", // CMC Internet Security. |
50 L"cmsetac.dll", // Unknown (suspected malware). | 49 L"cmsetac.dll", // Unknown (suspected malware). |
51 L"cooliris.dll", // CoolIris. | 50 L"cooliris.dll", // CoolIris. |
52 L"dockshellhook.dll", // Stardock Objectdock. | 51 L"dockshellhook.dll", // Stardock Objectdock. |
53 L"easyhook32.dll", // GDIPP and others. | 52 L"easyhook32.dll", // GDIPP and others. |
54 L"googledesktopnetwork3.dll", // Google Desktop Search v5. | 53 L"googledesktopnetwork3.dll", // Google Desktop Search v5. |
55 L"fwhook.dll", // PC Tools Firewall Plus. | 54 L"fwhook.dll", // PC Tools Firewall Plus. |
(...skipping 29 matching lines...) Expand all Loading... |
85 L"rooksdol.dll", // Trustware Rapport. | 84 L"rooksdol.dll", // Trustware Rapport. |
86 L"rpchromebrowserrecordhelper.dll", // RealPlayer. | 85 L"rpchromebrowserrecordhelper.dll", // RealPlayer. |
87 L"r3hook.dll", // Kaspersky Internet Security. | 86 L"r3hook.dll", // Kaspersky Internet Security. |
88 L"sahook.dll", // McAfee Site Advisor. | 87 L"sahook.dll", // McAfee Site Advisor. |
89 L"sbrige.dll", // Unknown. | 88 L"sbrige.dll", // Unknown. |
90 L"sc2hook.dll", // Supercopier 2. | 89 L"sc2hook.dll", // Supercopier 2. |
91 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection. | 90 L"sdhook32.dll", // Spybot - Search & Destroy Live Protection. |
92 L"sguard.dll", // Iolo (System Guard). | 91 L"sguard.dll", // Iolo (System Guard). |
93 L"smum32.dll", // Spyware Doctor version 6. | 92 L"smum32.dll", // Spyware Doctor version 6. |
94 L"smumhook.dll", // Spyware Doctor version 5. | 93 L"smumhook.dll", // Spyware Doctor version 5. |
95 L"snxhk.dll", // Avast Antivirus. | |
96 L"ssldivx.dll", // DivX. | 94 L"ssldivx.dll", // DivX. |
97 L"syncor11.dll", // SynthCore Midi interface. | 95 L"syncor11.dll", // SynthCore Midi interface. |
98 L"systools.dll", // Panda Antivirus. | 96 L"systools.dll", // Panda Antivirus. |
99 L"tfwah.dll", // Threatfire (PC tools). | 97 L"tfwah.dll", // Threatfire (PC tools). |
100 L"wblind.dll", // Stardock Object desktop. | 98 L"wblind.dll", // Stardock Object desktop. |
101 L"wbhelp.dll", // Stardock Object desktop. | 99 L"wbhelp.dll", // Stardock Object desktop. |
102 L"winstylerthemehelper.dll" // Tuneup utilities 2006. | 100 L"winstylerthemehelper.dll" // Tuneup utilities 2006. |
103 }; | 101 }; |
104 | 102 |
105 // Adds the policy rules for the path and path\ with the semantic |access|. | 103 // Adds the policy rules for the path and path\ with the semantic |access|. |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 } | 715 } |
718 | 716 |
719 return false; | 717 return false; |
720 } | 718 } |
721 | 719 |
722 bool BrokerAddTargetPeer(HANDLE peer_process) { | 720 bool BrokerAddTargetPeer(HANDLE peer_process) { |
723 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; | 721 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; |
724 } | 722 } |
725 | 723 |
726 } // namespace content | 724 } // namespace content |
OLD | NEW |