1 //===-- asan_suppressions.h -------------------------------------*- C++ -*-===// 2 // 3 // This file is distributed under the University of Illinois Open Source 4 // License. See LICENSE.TXT for details. 5 // 6 //===----------------------------------------------------------------------===// 7 // 8 // This file is a part of AddressSanitizer, an address sanity checker. 9 // 10 // ASan-private header for asan_suppressions.cc. 11 //===----------------------------------------------------------------------===// 12 #ifndef ASAN_SUPPRESSIONS_H 13 #define ASAN_SUPPRESSIONS_H 14 15 #include "asan_internal.h" 16 #include "sanitizer_common/sanitizer_stacktrace.h" 17 18 namespace __asan { 19 20 void InitializeSuppressions(); 21 bool IsInterceptorSuppressed(const char *interceptor_name); 22 bool HaveStackTraceBasedSuppressions(); 23 bool IsStackTraceSuppressed(const StackTrace *stack); 24 bool IsODRViolationSuppressed(const char *global_var_name); 25 26 } // namespace __asan 27 28 #endif // ASAN_SUPPRESSIONS_H 29