Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2042)

Side by Side Diff: chrome_elf/blacklist/blacklist.cc

Issue 654753008: Add safetynut.dll to the browser blacklist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 30 matching lines...) Expand all
41 L"datamngr.dll", // Unknown (suspected adware). 41 L"datamngr.dll", // Unknown (suspected adware).
42 L"hk.dll", // Unknown (keystroke logger). 42 L"hk.dll", // Unknown (keystroke logger).
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"systemk.dll", // Unknown (suspected adware). 52 L"systemk.dll", // Unknown (suspected adware).
52 L"windowsapihookdll32.dll", // Lenovo One Key Theater. 53 L"windowsapihookdll32.dll", // Lenovo One Key Theater.
53 // See crbug.com/379218. 54 // See crbug.com/379218.
54 L"windowsapihookdll64.dll", // Lenovo One Key Theater. 55 L"windowsapihookdll64.dll", // Lenovo One Key Theater.
55 // Keep this null pointer here to mark the end of the list. 56 // Keep this null pointer here to mark the end of the list.
56 NULL, 57 NULL,
57 }; 58 };
58 59
59 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {}; 60 bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {};
60 int g_num_blocked_dlls = 0; 61 int g_num_blocked_dlls = 0;
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 break; 431 break;
431 value_buffer[value_len - 1] = L'\0'; 432 value_buffer[value_len - 1] = L'\0';
432 AddDllToBlacklist(&value_buffer[0]); 433 AddDllToBlacklist(&value_buffer[0]);
433 } 434 }
434 435
435 ::RegCloseKey(key); 436 ::RegCloseKey(key);
436 return; 437 return;
437 } 438 }
438 439
439 } // namespace blacklist 440 } // namespace blacklist
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698