Index: chrome_elf/blacklist/blacklist.cc |
diff --git a/chrome_elf/blacklist/blacklist.cc b/chrome_elf/blacklist/blacklist.cc |
index f9eb065dd5ae32f2c42f98621cf6d766808feb77..5b66903fcb9e8698b7c5087e67aa114322e51664 100644 |
--- a/chrome_elf/blacklist/blacklist.cc |
+++ b/chrome_elf/blacklist/blacklist.cc |
@@ -29,6 +29,8 @@ const wchar_t kRegistryBeaconPath[] = L"SOFTWARE\\Google\\Chrome\\BLBeacon"; |
const wchar_t kBeaconVersion[] = L"version"; |
const wchar_t kBeaconState[] = L"state"; |
+bool blacklist_patched = false; |
robertshield
2014/02/06 18:55:23
g_blacklist_patched
csharp
2014/02/06 20:03:58
Done.
|
+ |
} // namespace blacklist |
// Allocate storage for thunks in a page of this module to save on doing |
@@ -324,6 +326,9 @@ bool Initialize(bool force) { |
} |
#endif |
+ // Record that we have patched in the blacklist. |
+ blacklist_patched = true; |
+ |
BYTE* thunk_storage = reinterpret_cast<BYTE*>(&g_thunk_storage); |
// Mark the thunk storage as readable and writeable, since we |