1 //===-- asan_mapping.h ------------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of AddressSanitizer, an address sanity checker.
10 // Premap shadow range with an ifunc resolver.
11 //===----------------------------------------------------------------------===//
14 #ifndef ASAN_PREMAP_SHADOW_H
15 #define ASAN_PREMAP_SHADOW_H
17 #if ASAN_PREMAP_SHADOW
19 // Conservative upper limit.
20 uptr
PremapShadowSize();
21 bool PremapShadowFailed();
25 extern "C" INTERFACE_ATTRIBUTE
void __asan_shadow();
26 extern "C" decltype(__asan_shadow
)* __asan_premap_shadow();
28 #endif // ASAN_PREMAP_SHADOW_H