asan_suppressions.h revision 288943
1132943Sgshapiro//===-- asan_suppressions.h -------------------------------------*- C++ -*-===//
2132943Sgshapiro//
3132943Sgshapiro//                     The LLVM Compiler Infrastructure
4132943Sgshapiro//
5132943Sgshapiro// This file is distributed under the University of Illinois Open Source
6132943Sgshapiro// License. See LICENSE.TXT for details.
7132943Sgshapiro//
8132943Sgshapiro//===----------------------------------------------------------------------===//
9132943Sgshapiro//
10132943Sgshapiro// This file is a part of AddressSanitizer, an address sanity checker.
11132943Sgshapiro//
12132943Sgshapiro// ASan-private header for asan_suppressions.cc.
13132943Sgshapiro//===----------------------------------------------------------------------===//
14132943Sgshapiro#ifndef ASAN_SUPPRESSIONS_H
15132943Sgshapiro#define ASAN_SUPPRESSIONS_H
16132943Sgshapiro
17132943Sgshapiro#include "asan_internal.h"
18132943Sgshapiro#include "sanitizer_common/sanitizer_stacktrace.h"
19132943Sgshapiro
20132943Sgshapironamespace __asan {
21132943Sgshapiro
22132943Sgshapirovoid InitializeSuppressions();
23bool IsInterceptorSuppressed(const char *interceptor_name);
24bool HaveStackTraceBasedSuppressions();
25bool IsStackTraceSuppressed(const StackTrace *stack);
26bool IsODRViolationSuppressed(const char *global_var_name);
27
28} // namespace __asan
29
30#endif // ASAN_SUPPRESSIONS_H
31