Kuba Brecka | dde0030 | 2014-12-05 20:26:09 +0000 | [diff] [blame] | 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 | |
| 20 | namespace __asan { |
| 21 | |
| 22 | void InitializeSuppressions(); |
| 23 | bool IsInterceptorSuppressed(const char *interceptor_name); |
| 24 | bool HaveStackTraceBasedSuppressions(); |
| 25 | bool IsStackTraceSuppressed(const StackTrace *stack); |
Kostya Serebryany | efa60df | 2015-02-25 00:49:12 +0000 | [diff] [blame] | 26 | bool IsODRViolationSuppressed(const char *global_var_name); |
Kuba Brecka | dde0030 | 2014-12-05 20:26:09 +0000 | [diff] [blame] | 27 | |
| 28 | } // namespace __asan |
| 29 | |
| 30 | #endif // ASAN_SUPPRESSIONS_H |