1*3cab2bb3Spatrick //===-- hwasan_dynamic_shadow.h ---------------------------------*- C++ -*-===// 2*3cab2bb3Spatrick // 3*3cab2bb3Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*3cab2bb3Spatrick // See https://llvm.org/LICENSE.txt for license information. 5*3cab2bb3Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*3cab2bb3Spatrick // 7*3cab2bb3Spatrick //===----------------------------------------------------------------------===// 8*3cab2bb3Spatrick /// 9*3cab2bb3Spatrick /// \file 10*3cab2bb3Spatrick /// This file is a part of HWAddressSanitizer. It reserves dynamic shadow memory 11*3cab2bb3Spatrick /// region. 12*3cab2bb3Spatrick /// 13*3cab2bb3Spatrick //===----------------------------------------------------------------------===// 14*3cab2bb3Spatrick 15*3cab2bb3Spatrick #ifndef HWASAN_PREMAP_SHADOW_H 16*3cab2bb3Spatrick #define HWASAN_PREMAP_SHADOW_H 17*3cab2bb3Spatrick 18*3cab2bb3Spatrick #include "sanitizer_common/sanitizer_internal_defs.h" 19*3cab2bb3Spatrick 20*3cab2bb3Spatrick namespace __hwasan { 21*3cab2bb3Spatrick 22*3cab2bb3Spatrick uptr FindDynamicShadowStart(uptr shadow_size_bytes); 23*3cab2bb3Spatrick void InitShadowGOT(); 24*3cab2bb3Spatrick 25*3cab2bb3Spatrick } // namespace __hwasan 26*3cab2bb3Spatrick 27*3cab2bb3Spatrick #endif // HWASAN_PREMAP_SHADOW_H 28