28 lines · c
1//===-- hwasan_dynamic_shadow.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/// \file10/// This file is a part of HWAddressSanitizer. It reserves dynamic shadow memory11/// region.12///13//===----------------------------------------------------------------------===//14 15#ifndef HWASAN_PREMAP_SHADOW_H16#define HWASAN_PREMAP_SHADOW_H17 18#include "sanitizer_common/sanitizer_internal_defs.h"19 20namespace __hwasan {21 22uptr FindDynamicShadowStart(uptr shadow_size_bytes);23void InitShadowGOT();24 25} // namespace __hwasan26 27#endif // HWASAN_PREMAP_SHADOW_H28