summaryrefslogtreecommitdiff
path: root/lib/hwasan/hwasan_poisoning.h
blob: b44a91f975f5da1ad3d7d3764f96de0bf2c6cb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===-- hwasan_poisoning.h ----------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file is a part of HWAddressSanitizer.
//
//===----------------------------------------------------------------------===//

#ifndef HWASAN_POISONING_H
#define HWASAN_POISONING_H

#include "hwasan.h"

namespace __hwasan {
uptr TagMemory(uptr p, uptr size, tag_t tag);
uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);

}  // namespace __hwasan

#endif  // HWASAN_POISONING_H