Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / chrome_elf / ntdll_cache.h
blob5e4fb2bf7a33d54fa266ff03d77181c2b5f90369
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.
5 #ifndef CHROME_ELF_NTDLL_CACHE_H_
6 #define CHROME_ELF_NTDLL_CACHE_H_
8 #include "chrome_elf/chrome_elf_types.h"
10 namespace sandbox {
11 struct ThunkData;
14 // Caches the addresses of all functions exported by ntdll in |g_ntdll_lookup|.
15 void InitCache();
17 extern FunctionLookupTable g_ntdll_lookup;
19 extern sandbox::ThunkData g_nt_thunk_storage;
21 #endif // CHROME_ELF_NTDLL_CACHE_H_