1 //===-- asan_suppressions.h -------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file is a part of AddressSanitizer, an address sanity checker.
11 // ASan-private header for asan_suppressions.cpp.
12 //===----------------------------------------------------------------------===//
13 #ifndef ASAN_SUPPRESSIONS_H
14 #define ASAN_SUPPRESSIONS_H
16 #include "asan_internal.h"
17 #include "sanitizer_common/sanitizer_stacktrace.h"
21 void InitializeSuppressions();
22 bool IsInterceptorSuppressed(const char *interceptor_name
);
23 bool HaveStackTraceBasedSuppressions();
24 bool IsStackTraceSuppressed(const StackTrace
*stack
);
25 bool IsODRViolationSuppressed(const char *global_var_name
);
29 #endif // ASAN_SUPPRESSIONS_H