1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_ELF_NTDLL_CACHE_H_ 6 #define CHROME_ELF_NTDLL_CACHE_H_ 7 8 #include "chrome_elf/chrome_elf_types.h" 9 10 namespace sandbox { 11 struct ThunkData; 12 } 13 14 // Caches the addresses of all functions exported by ntdll in |g_ntdll_lookup|. 15 void InitCache(); 16 17 extern FunctionLookupTable g_ntdll_lookup; 18 19 extern sandbox::ThunkData g_nt_thunk_storage; 20 21 #endif // CHROME_ELF_NTDLL_CACHE_H_ 22