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