| Index: chrome_elf/blacklist/blacklist.cc
|
| diff --git a/chrome_elf/blacklist/blacklist.cc b/chrome_elf/blacklist/blacklist.cc
|
| index 0fdf91d274276396cf9578a67deb37005c7754ae..2b441a6a16efd0885de17d5bd0e42221b6c996b5 100644
|
| --- a/chrome_elf/blacklist/blacklist.cc
|
| +++ b/chrome_elf/blacklist/blacklist.cc
|
| @@ -347,25 +347,7 @@ bool Initialize(bool force) {
|
| VirtualProtect(&g_thunk_storage, sizeof(g_thunk_storage),
|
| PAGE_EXECUTE_READ, &old_protect);
|
|
|
| - AddDllsFromRegistryToBlacklist();
|
| -
|
| return NT_SUCCESS(ret) && page_executable;
|
| }
|
|
|
| -void AddDllsFromRegistryToBlacklist() {
|
| - std::vector<std::wstring> dlls;
|
| -
|
| - if (!nt::QueryRegValueMULTISZ(nt::HKCU, kRegistryFinchListPath,
|
| - kRegistryFinchListValueName, &dlls) ||
|
| - dlls.empty())
|
| - return;
|
| -
|
| - // Add each DLL to the BL in memory
|
| - for (auto name : dlls) {
|
| - AddDllToBlacklist(name.c_str());
|
| - }
|
| -
|
| - return;
|
| -}
|
| -
|
| } // namespace blacklist
|
|
|