Home | History | Annotate | Line # | Download | only in asan
      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 
     19 namespace __asan {
     20 
     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);
     26 
     27 } // namespace __asan
     28 
     29 #endif // ASAN_SUPPRESSIONS_H
     30