Path: blob/main/contrib/llvm-project/compiler-rt/lib/asan/asan_premap_shadow.h
35233 views
//===-- asan_mapping.h ------------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file is a part of AddressSanitizer, an address sanity checker.9//10// Premap shadow range with an ifunc resolver.11//===----------------------------------------------------------------------===//121314#ifndef ASAN_PREMAP_SHADOW_H15#define ASAN_PREMAP_SHADOW_H1617#if ASAN_PREMAP_SHADOW18namespace __asan {19// Conservative upper limit.20uptr PremapShadowSize();21bool PremapShadowFailed();22}23#endif2425extern "C" INTERFACE_ATTRIBUTE void __asan_shadow();26extern "C" decltype(__asan_shadow)* __asan_premap_shadow();2728#endif // ASAN_PREMAP_SHADOW_H293031