| 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 21 matching lines...) Expand all Loading... |
| 32 const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount] = { | 32 const wchar_t* g_troublesome_dlls[kTroublesomeDllsMaxCount] = { |
| 33 L"activedetect32.dll", // Lenovo One Key Theater. | 33 L"activedetect32.dll", // Lenovo One Key Theater. |
| 34 // See crbug.com/379218. | 34 // See crbug.com/379218. |
| 35 L"activedetect64.dll", // Lenovo One Key Theater. | 35 L"activedetect64.dll", // Lenovo One Key Theater. |
| 36 L"bitguard.dll", // Unknown (suspected malware). | 36 L"bitguard.dll", // Unknown (suspected malware). |
| 37 L"chrmxtn.dll", // Unknown (keystroke logger). | 37 L"chrmxtn.dll", // Unknown (keystroke logger). |
| 38 L"datamngr.dll", // Unknown (suspected adware). | 38 L"datamngr.dll", // Unknown (suspected adware). |
| 39 L"hk.dll", // Unknown (keystroke logger). | 39 L"hk.dll", // Unknown (keystroke logger). |
| 40 L"libsvn_tsvn32.dll", // TortoiseSVN. | 40 L"libsvn_tsvn32.dll", // TortoiseSVN. |
| 41 L"lmrn.dll", // Unknown. | 41 L"lmrn.dll", // Unknown. |
| 42 L"scdetour.dll", // Quick Heal Antivirus. |
| 43 // See crbug.com/382561. |
| 42 L"systemk.dll", // Unknown (suspected adware). | 44 L"systemk.dll", // Unknown (suspected adware). |
| 43 L"windowsapihookdll32.dll", // Lenovo One Key Theater. | 45 L"windowsapihookdll32.dll", // Lenovo One Key Theater. |
| 44 // See crbug.com/379218. | 46 // See crbug.com/379218. |
| 45 L"windowsapihookdll64.dll", // Lenovo One Key Theater. | 47 L"windowsapihookdll64.dll", // Lenovo One Key Theater. |
| 46 // Keep this null pointer here to mark the end of the list. | 48 // Keep this null pointer here to mark the end of the list. |
| 47 NULL, | 49 NULL, |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; | 52 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; |
| 51 int g_num_blocked_dlls = 0; | 53 int g_num_blocked_dlls = 0; |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 } | 418 } |
| 417 | 419 |
| 418 // Delete the finch registry key to clear the values. | 420 // Delete the finch registry key to clear the values. |
| 419 result = ::RegDeleteKey(key, L""); | 421 result = ::RegDeleteKey(key, L""); |
| 420 | 422 |
| 421 ::RegCloseKey(key); | 423 ::RegCloseKey(key); |
| 422 return result == ERROR_SUCCESS; | 424 return result == ERROR_SUCCESS; |
| 423 } | 425 } |
| 424 | 426 |
| 425 } // namespace blacklist | 427 } // namespace blacklist |
| OLD | NEW |