blob: 5246b4b30334f45ef655948f0702c9b5641ed322 [file] [log] [blame]
Kuba Breckadde00302014-12-05 20:26:09 +00001//===-- 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
20namespace __asan {
21
22void InitializeSuppressions();
23bool IsInterceptorSuppressed(const char *interceptor_name);
24bool HaveStackTraceBasedSuppressions();
25bool IsStackTraceSuppressed(const StackTrace *stack);
Kostya Serebryanyefa60df2015-02-25 00:49:12 +000026bool IsODRViolationSuppressed(const char *global_var_name);
Kuba Breckadde00302014-12-05 20:26:09 +000027
28} // namespace __asan
29
30#endif // ASAN_SUPPRESSIONS_H