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
31