asan_suppressions.h revision 276789
1//===-- 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); 26 27} // namespace __asan 28 29#endif // ASAN_SUPPRESSIONS_H 30