//===-- asan_shadow_setup.cpp ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file is a part of AddressSanitizer, an address sanity checker. // // Set up the shadow memory. //===----------------------------------------------------------------------===// #include "sanitizer_common/sanitizer_platform.h" // asan_fuchsia.cpp has their own InitializeShadowMemory implementation. #if !SANITIZER_FUCHSIA # include "asan_internal.h" # include "asan_mapping.h" namespace __asan { static void ProtectGap(uptr addr, uptr size) { … } static void MaybeReportLinuxPIEBug() { … } void InitializeShadowMemory() { … } } // namespace __asan #endif // !SANITIZER_FUCHSIA