| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 L"libapi2hook.dll", // V-Bates. | 43 L"libapi2hook.dll", // V-Bates. |
| 44 L"libinject.dll", // V-Bates. | 44 L"libinject.dll", // V-Bates. |
| 45 L"libinject2.dll", // V-Bates. | 45 L"libinject2.dll", // V-Bates. |
| 46 L"libredir2.dll", // V-Bates. | 46 L"libredir2.dll", // V-Bates. |
| 47 L"libsvn_tsvn32.dll", // TortoiseSVN. | 47 L"libsvn_tsvn32.dll", // TortoiseSVN. |
| 48 L"libwinhook.dll", // V-Bates. | 48 L"libwinhook.dll", // V-Bates. |
| 49 L"lmrn.dll", // Unknown. | 49 L"lmrn.dll", // Unknown. |
| 50 L"minisp.dll", // Unknown (suspected malware). | 50 L"minisp.dll", // Unknown (suspected malware). |
| 51 L"safetynut.dll", // Unknown (suspected adware). | 51 L"safetynut.dll", // Unknown (suspected adware). |
| 52 L"systemk.dll", // Unknown (suspected adware). | 52 L"systemk.dll", // Unknown (suspected adware). |
| 53 L"wajam_goblin_64.dll", // Wajam Internet Technologies. |
| 54 L"wajam_goblin.dll", // Wajam Internet Technologies. |
| 53 L"windowsapihookdll32.dll", // Lenovo One Key Theater. | 55 L"windowsapihookdll32.dll", // Lenovo One Key Theater. |
| 54 // See crbug.com/379218. | 56 // See crbug.com/379218. |
| 55 L"windowsapihookdll64.dll", // Lenovo One Key Theater. | 57 L"windowsapihookdll64.dll", // Lenovo One Key Theater. |
| 56 // Keep this null pointer here to mark the end of the list. | 58 // Keep this null pointer here to mark the end of the list. |
| 57 NULL, | 59 NULL, |
| 58 }; | 60 }; |
| 59 | 61 |
| 60 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; | 62 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; |
| 61 int g_num_blocked_dlls = 0; | 63 int g_num_blocked_dlls = 0; |
| 62 | 64 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 break; | 433 break; |
| 432 value_buffer[value_len - 1] = L'\0'; | 434 value_buffer[value_len - 1] = L'\0'; |
| 433 AddDllToBlacklist(&value_buffer[0]); | 435 AddDllToBlacklist(&value_buffer[0]); |
| 434 } | 436 } |
| 435 | 437 |
| 436 ::RegCloseKey(key); | 438 ::RegCloseKey(key); |
| 437 return; | 439 return; |
| 438 } | 440 } |
| 439 | 441 |
| 440 } // namespace blacklist | 442 } // namespace blacklist |
| OLD | NEW |