Chromium Code Reviews| 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 16 matching lines...) Expand all Loading... | |
| 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"datamngr.dll", // Unknown (suspected adware). | 33 L"datamngr.dll", // Unknown (suspected adware). |
| 34 L"hk.dll", // Unknown (keystroke logger). | 34 L"hk.dll", // Unknown (keystroke logger). |
| 35 L"libsvn_tsvn32.dll", // TortoiseSVN. | 35 L"libsvn_tsvn32.dll", // TortoiseSVN. |
| 36 L"lmrn.dll", // Unknown. | 36 L"lmrn.dll", // Unknown. |
| 37 L"activedetect32.dll", // Lenovo One Key Theater. | 37 L"activedetect32.dll", // Lenovo One Key Theater. |
|
csharp
2014/06/16 14:09:17
Ah, this list is no longer is alphabetical order,
krstnmnlsn
2014/06/16 14:44:09
Fixed.
| |
| 38 // See crbug.com/379218. | 38 // See crbug.com/379218. |
| 39 L"windowsapihookdll32.dll", // Lenovo One Key Theater. | 39 L"windowsapihookdll32.dll", // Lenovo One Key Theater. |
| 40 L"activedetect64.dll", // Lenovo One Key Theater. | 40 L"activedetect64.dll", // Lenovo One Key Theater. |
| 41 L"windowsapihookdll64.dll", // Lenovo One Key Theater. | 41 L"windowsapihookdll64.dll", // Lenovo One Key Theater. |
| 42 L"systemk.dll", // Unknown (suspected adware). | |
| 43 L"bitguard.dll", // Unknown (suspected malware). | |
| 44 L"chrmxtn.dll", // Unknown (keystroke logger). | |
| 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 |
| 51 // Allocate storage for thunks in a page of this module to save on doing | 54 // Allocate storage for thunks in a page of this module to save on doing |
| (...skipping 342 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 |