2017-11-29 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libsanitizer / asan / asan_suppressions.h
blob331d72245480b930faff9e3757615cf834790402
1 //===-- asan_suppressions.h -------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of AddressSanitizer, an address sanity checker.
9 //
10 // ASan-private header for asan_suppressions.cc.
11 //===----------------------------------------------------------------------===//
12 #ifndef ASAN_SUPPRESSIONS_H
13 #define ASAN_SUPPRESSIONS_H
15 #include "asan_internal.h"
16 #include "sanitizer_common/sanitizer_stacktrace.h"
18 namespace __asan {
20 void InitializeSuppressions();
21 bool IsInterceptorSuppressed(const char *interceptor_name);
22 bool HaveStackTraceBasedSuppressions();
23 bool IsStackTraceSuppressed(const StackTrace *stack);
24 bool IsODRViolationSuppressed(const char *global_var_name);
26 } // namespace __asan
28 #endif // ASAN_SUPPRESSIONS_H