brintos

brintos / llvm-project-archived public Read only

0
0
Text · 913 B · c9c886e Raw
30 lines · c
1//===-- asan_mapping.h ------------------------------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file is a part of AddressSanitizer, an address sanity checker.10//11// Premap shadow range with an ifunc resolver.12//===----------------------------------------------------------------------===//13 14 15#ifndef ASAN_PREMAP_SHADOW_H16#define ASAN_PREMAP_SHADOW_H17 18#if ASAN_PREMAP_SHADOW19namespace __asan {20// Conservative upper limit.21uptr PremapShadowSize();22bool PremapShadowFailed();23}24#endif25 26extern "C" INTERFACE_ATTRIBUTE void __asan_shadow();27extern "C" decltype(__asan_shadow)* __asan_premap_shadow();28 29#endif // ASAN_PREMAP_SHADOW_H30