Home | History | Annotate | Line # | Download | only in hwasan
      1 //===-- hwasan_poisoning.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-exception
      6 //
      7 //===----------------------------------------------------------------------===//
      8 //
      9 // This file is a part of HWAddressSanitizer.
     10 //
     11 //===----------------------------------------------------------------------===//
     12 
     13 #ifndef HWASAN_POISONING_H
     14 #define HWASAN_POISONING_H
     15 
     16 #include "hwasan.h"
     17 
     18 namespace __hwasan {
     19 uptr TagMemory(uptr p, uptr size, tag_t tag);
     20 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);
     21 
     22 }  // namespace __hwasan
     23 
     24 #endif  // HWASAN_POISONING_H
     25