Path: blob/main/contrib/llvm-project/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.h
35236 views
//===-- hwasan_dynamic_shadow.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/// \file9/// This file is a part of HWAddressSanitizer. It reserves dynamic shadow memory10/// region.11///12//===----------------------------------------------------------------------===//1314#ifndef HWASAN_PREMAP_SHADOW_H15#define HWASAN_PREMAP_SHADOW_H1617#include "sanitizer_common/sanitizer_internal_defs.h"1819namespace __hwasan {2021uptr FindDynamicShadowStart(uptr shadow_size_bytes);22void InitShadowGOT();2324} // namespace __hwasan2526#endif // HWASAN_PREMAP_SHADOW_H272829