Index: chrome_elf/ntdll_cache.h |
diff --git a/chrome_elf/ntdll_cache.h b/chrome_elf/ntdll_cache.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0195f43bcad4575e2de391ea08dc5b657d0841ef |
--- /dev/null |
+++ b/chrome_elf/ntdll_cache.h |
@@ -0,0 +1,15 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_ELF_NTDLL_CACHE_H_ |
+#define CHROME_ELF_NTDLL_CACHE_H_ |
+ |
+#include "chrome_elf/chrome_elf_types.h" |
+ |
+// Caches the addresses of all functions exported by ntdll in |g_ntdll_lookup|. |
+void InitCache(); |
+ |
+extern FunctionLookupTable g_ntdll_lookup; |
+ |
+#endif // CHROME_ELF_NTDLL_CACHE_H_ |