OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome_elf/blacklist/blacklist.h" | 5 #include "chrome_elf/blacklist/blacklist.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 12 matching lines...) Expand all Loading... | |
23 | 23 |
24 namespace blacklist{ | 24 namespace blacklist{ |
25 | 25 |
26 // The DLLs listed here are known (or under strong suspicion) of causing crashes | 26 // The DLLs listed here are known (or under strong suspicion) of causing crashes |
27 // when they are loaded in the browser. DLLs should only be added to this list | 27 // when they are loaded in the browser. DLLs should only be added to this list |
28 // if there is nothing else Chrome can do to prevent those crashes. | 28 // if there is nothing else Chrome can do to prevent those crashes. |
29 // For more information about how this list is generated, and how to get off | 29 // For more information about how this list is generated, and how to get off |
30 // of it, see: | 30 // of it, see: |
31 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers | 31 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers |
32 const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount] = { | 32 const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount] = { |
33 L"activedetect32.dll", // Lenovo One Key Theater. | |
34 // See crbug.com/379218. | |
35 L"activedetect64.dll", // Lenovo One Key Theater. | |
36 L"bitguard.dll", // Unknown (suspected malware). | |
37 L"chrmxtn.dll", // Unknown (keystroke logger). | |
33 L"datamngr.dll", // Unknown (suspected adware). | 38 L"datamngr.dll", // Unknown (suspected adware). |
34 L"hk.dll", // Unknown (keystroke logger). | 39 L"hk.dll", // Unknown (keystroke logger). |
35 L"libsvn_tsvn32.dll", // TortoiseSVN. | 40 L"libsvn_tsvn32.dll", // TortoiseSVN. |
36 L"lmrn.dll", // Unknown. | 41 L"lmrn.dll", // Unknown. |
37 L"activedetect32.dll", // Lenovo One Key Theater. | 42 L"systemk.dll", // Unknown (suspected adware). |
38 // See crbug.com/379218. | |
39 L"windowsapihookdll32.dll", // Lenovo One Key Theater. | 43 L"windowsapihookdll32.dll", // Lenovo One Key Theater. |
csharp
2014/06/16 14:47:17
Please put "// See crbug.com/379218." on line 44,
krstnmnlsn
2014/06/16 17:42:22
I was wondering if I should do this. Done.
| |
40 L"activedetect64.dll", // Lenovo One Key Theater. | |
41 L"windowsapihookdll64.dll", // Lenovo One Key Theater. | 44 L"windowsapihookdll64.dll", // Lenovo One Key Theater. |
42 // Keep this null pointer here to mark the end of the list. | 45 // Keep this null pointer here to mark the end of the list. |
43 NULL, | 46 NULL, |
44 }; | 47 }; |
45 | 48 |
46 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; | 49 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; |
47 int g_num_blocked_dlls = 0; | 50 int g_num_blocked_dlls = 0; |
48 | 51 |
49 } // namespace blacklist | 52 } // namespace blacklist |
50 | 53 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
394 } | 397 } |
395 | 398 |
396 // Delete the finch registry key to clear the values. | 399 // Delete the finch registry key to clear the values. |
397 result = ::RegDeleteKey(key, L""); | 400 result = ::RegDeleteKey(key, L""); |
398 | 401 |
399 ::RegCloseKey(key); | 402 ::RegCloseKey(key); |
400 return result == ERROR_SUCCESS; | 403 return result == ERROR_SUCCESS; |
401 } | 404 } |
402 | 405 |
403 } // namespace blacklist | 406 } // namespace blacklist |
OLD | NEW |