FuzzerExtraCountersDarwin.cpp 756 B

12345678910111213141516171819202122
  1. //===- FuzzerExtraCountersDarwin.cpp - Extra coverage counters for Darwin -===//
  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. // Extra coverage counters defined by user code for Darwin.
  9. //===----------------------------------------------------------------------===//
  10. #include "FuzzerPlatform.h"
  11. #include <cstdint>
  12. #if LIBFUZZER_APPLE
  13. namespace fuzzer {
  14. uint8_t *ExtraCountersBegin() { return nullptr; }
  15. uint8_t *ExtraCountersEnd() { return nullptr; }
  16. void ClearExtraCounters() {}
  17. } // namespace fuzzer
  18. #endif