1 //===-- sanitizer/asan_interface.h ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of HWAddressSanitizer.
12 // Public interface header.
13 //===----------------------------------------------------------------------===//
14 #ifndef SANITIZER_HWASAN_INTERFACE_H
15 #define SANITIZER_HWASAN_INTERFACE_H
17 #include <sanitizer/common_interface_defs.h>
22 // This function may be optionally provided by user and should return
23 // a string containing HWASan runtime options. See asan_flags.h for details.
24 const char* __hwasan_default_options(void);
26 void __hwasan_enable_allocator_tagging(void);
27 void __hwasan_disable_allocator_tagging(void);
33 #endif // SANITIZER_HWASAN_INTERFACE_H