2012-11-12 15:53:47 +00:00
|
|
|
//===-- interception_mac.h --------------------------------------*- C++ -*-===//
|
|
|
|
//
|
2019-08-14 10:47:11 +02:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2012-11-12 15:53:47 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
|
|
|
//
|
|
|
|
// Mac-specific interception methods.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2022-08-30 11:45:34 +02:00
|
|
|
#if SANITIZER_APPLE
|
2012-11-12 15:53:47 +00:00
|
|
|
|
|
|
|
#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)
|
|
|
|
# error "interception_mac.h should be included from interception.h only"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef INTERCEPTION_MAC_H
|
|
|
|
#define INTERCEPTION_MAC_H
|
|
|
|
|
2013-02-13 10:46:01 +00:00
|
|
|
#define INTERCEPT_FUNCTION_MAC(func)
|
2013-12-05 09:18:38 +00:00
|
|
|
#define INTERCEPT_FUNCTION_VER_MAC(func, symver)
|
2012-11-12 15:53:47 +00:00
|
|
|
|
|
|
|
#endif // INTERCEPTION_MAC_H
|
2022-08-30 11:45:34 +02:00
|
|
|
#endif // SANITIZER_APPLE
|