brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 4613a36 Raw
31 lines · c
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-exception6//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_H14#define ASAN_SUPPRESSIONS_H15 16#include "asan_internal.h"17#include "sanitizer_common/sanitizer_stacktrace.h"18 19namespace __asan {20 21void InitializeSuppressions();22bool IsInterceptorSuppressed(const char *interceptor_name);23bool HaveStackTraceBasedSuppressions();24bool IsStackTraceSuppressed(const StackTrace *stack);25bool IsODRViolationSuppressed(const char *global_var_name);26bool IsAllocDeallocMismatchSuppressed(const StackTrace *stack);27 28} // namespace __asan29 30#endif // ASAN_SUPPRESSIONS_H31