]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/asan/asan_suppressions.h
Update compiler-rt to 3.7.0 release. This also includes the sanitizer
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / asan / asan_suppressions.h
1 //===-- asan_suppressions.h -------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file is a part of AddressSanitizer, an address sanity checker.
11 //
12 // ASan-private header for asan_suppressions.cc.
13 //===----------------------------------------------------------------------===//
14 #ifndef ASAN_SUPPRESSIONS_H
15 #define ASAN_SUPPRESSIONS_H
16
17 #include "asan_internal.h"
18 #include "sanitizer_common/sanitizer_stacktrace.h"
19
20 namespace __asan {
21
22 void InitializeSuppressions();
23 bool IsInterceptorSuppressed(const char *interceptor_name);
24 bool HaveStackTraceBasedSuppressions();
25 bool IsStackTraceSuppressed(const StackTrace *stack);
26 bool IsODRViolationSuppressed(const char *global_var_name);
27
28 } // namespace __asan
29
30 #endif // ASAN_SUPPRESSIONS_H