hwasan_poisoning.h 756 B

123456789101112131415161718192021222324
  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. #ifndef HWASAN_POISONING_H
  13. #define HWASAN_POISONING_H
  14. #include "hwasan.h"
  15. namespace __hwasan {
  16. uptr TagMemory(uptr p, uptr size, tag_t tag);
  17. uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);
  18. } // namespace __hwasan
  19. #endif // HWASAN_POISONING_H