1//===-- asan_suppressions.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file is a part of AddressSanitizer, an address sanity checker.
10//
11// ASan-private header for asan_suppressions.cpp.
12//===----------------------------------------------------------------------===//
13#ifndef ASAN_SUPPRESSIONS_H
14#define ASAN_SUPPRESSIONS_H
15
16#include "asan_internal.h"
17#include "sanitizer_common/sanitizer_stacktrace.h"
18
19namespace __asan {
20
21void InitializeSuppressions();
22bool IsInterceptorSuppressed(const char *interceptor_name);
23bool HaveStackTraceBasedSuppressions();
24bool IsStackTraceSuppressed(const StackTrace *stack);
25bool IsODRViolationSuppressed(const char *global_var_name);
26
27} // namespace __asan
28
29#endif // ASAN_SUPPRESSIONS_H
30

source code of compiler-rt/lib/asan/asan_suppressions.h