[email protected] | 8bbb666 | 2013-12-09 06:15:24 | [diff] [blame] | 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 | |||||
[email protected] | 37f2029 | 2014-03-18 21:01:10 | [diff] [blame] | 10 | namespace sandbox { |
11 | struct ThunkData; | ||||
12 | } | ||||
13 | |||||
[email protected] | 8bbb666 | 2013-12-09 06:15:24 | [diff] [blame] | 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 | |||||
[email protected] | 37f2029 | 2014-03-18 21:01:10 | [diff] [blame] | 19 | extern sandbox::ThunkData g_nt_thunk_storage; |
20 | |||||
[email protected] | 8bbb666 | 2013-12-09 06:15:24 | [diff] [blame] | 21 | #endif // CHROME_ELF_NTDLL_CACHE_H_ |