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

Unified Diff: chrome_elf/chrome_elf_main.cc

Issue 85403005: Cache ntdll exports in ELF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_elf/chrome_elf.gyp ('k') | chrome_elf/chrome_elf_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/chrome_elf_main.cc
diff --git a/chrome_elf/chrome_elf_main.cc b/chrome_elf/chrome_elf_main.cc
index c6715ba3763b4acb450a946d0ccf0f6871641f2e..4291430970496b6f13d2aec4113c61ce3c86b286 100644
--- a/chrome_elf/chrome_elf_main.cc
+++ b/chrome_elf/chrome_elf_main.cc
@@ -6,11 +6,15 @@
#include "chrome_elf/chrome_elf_main.h"
+#include "chrome_elf/ntdll_cache.h"
+
void InitChromeElf() {
// This method is a no-op which may be called to force a load-time dependency
// on chrome_elf.dll.
}
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
+ if (reason == DLL_PROCESS_ATTACH)
+ InitCache();
return TRUE;
}
« no previous file with comments | « chrome_elf/chrome_elf.gyp ('k') | chrome_elf/chrome_elf_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698