interception_mac.h 912 B

123456789101112131415161718192021222324252627
  1. //===-- interception_mac.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. // Mac-specific interception methods.
  12. //===----------------------------------------------------------------------===//
  13. #if SANITIZER_APPLE
  14. #if !defined(INCLUDED_FROM_INTERCEPTION_LIB)
  15. # error "interception_mac.h should be included from interception.h only"
  16. #endif
  17. #ifndef INTERCEPTION_MAC_H
  18. #define INTERCEPTION_MAC_H
  19. #define INTERCEPT_FUNCTION_MAC(func)
  20. #define INTERCEPT_FUNCTION_VER_MAC(func, symver)
  21. #endif // INTERCEPTION_MAC_H
  22. #endif // SANITIZER_APPLE