Index: chrome_elf/blacklist/blacklist.h |
diff --git a/chrome_elf/blacklist/blacklist.h b/chrome_elf/blacklist/blacklist.h |
index 2e21f20793e296cfff766cd3728cf6238f9fe154..d81b1f17667cd57c3a7c24ea94c63fc0f18be68e 100644 |
--- a/chrome_elf/blacklist/blacklist.h |
+++ b/chrome_elf/blacklist/blacklist.h |
@@ -74,6 +74,14 @@ extern "C" bool AddDllToBlacklist(const wchar_t* dll_name); |
// removed, false on error. |
extern "C" bool RemoveDllFromBlacklist(const wchar_t* dll_name); |
+// Returns a list of all the dlls that have been successfully blocked by the |
+// blacklist via blocked_dlls, if there is enough space (according to |size|). |
+// |size| will always be modify to be the number of dlls that were blocked. |
robertshield
2014/02/24 15:24:05
be modified
csharp
2014/02/24 21:37:16
Done.
|
+extern "C" void SuccessfullyBlocked(const wchar_t** blocked_dlls, int* size); |
robertshield
2014/02/24 15:24:05
document the memory management specifics here, i.e
csharp
2014/02/24 21:37:16
Done.
|
+ |
+// Record that the dll at the given index was blocked. |
+void BlockedDll(int blocked_index); |
+ |
// Initializes the DLL blacklist in the current process. This should be called |
// before any undesirable DLLs might be loaded. If |force| is set to true, then |
// initialization will take place even if a beacon is present. This is useful |