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 10namespace sandbox { 11struct ThunkData; 12} 13 14// Caches the addresses of all functions exported by ntdll in |g_ntdll_lookup|. 15void InitCache(); 16 17extern FunctionLookupTable g_ntdll_lookup; 18 19extern sandbox::ThunkData g_nt_thunk_storage; 20 21#endif // CHROME_ELF_NTDLL_CACHE_H_ 22