asan_suppressions.h 1.0 KB

1234567891011121314151617181920212223242526272829
  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. #include "asan_internal.h"
  16. #include "sanitizer_common/sanitizer_stacktrace.h"
  17. namespace __asan {
  18. void InitializeSuppressions();
  19. bool IsInterceptorSuppressed(const char *interceptor_name);
  20. bool HaveStackTraceBasedSuppressions();
  21. bool IsStackTraceSuppressed(const StackTrace *stack);
  22. bool IsODRViolationSuppressed(const char *global_var_name);
  23. } // namespace __asan
  24. #endif // ASAN_SUPPRESSIONS_H