xref: /freebsd-src/contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtraCountersDarwin.cpp (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
1*349cc55cSDimitry Andric //===- FuzzerExtraCountersDarwin.cpp - Extra coverage counters for Darwin -===//
2*349cc55cSDimitry Andric //
3*349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*349cc55cSDimitry Andric //
7*349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
8*349cc55cSDimitry Andric // Extra coverage counters defined by user code for Darwin.
9*349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
10*349cc55cSDimitry Andric 
11*349cc55cSDimitry Andric #include "FuzzerPlatform.h"
12*349cc55cSDimitry Andric #include <cstdint>
13*349cc55cSDimitry Andric 
14*349cc55cSDimitry Andric #if LIBFUZZER_APPLE
15*349cc55cSDimitry Andric 
16*349cc55cSDimitry Andric namespace fuzzer {
ExtraCountersBegin()17*349cc55cSDimitry Andric uint8_t *ExtraCountersBegin() { return nullptr; }
ExtraCountersEnd()18*349cc55cSDimitry Andric uint8_t *ExtraCountersEnd() { return nullptr; }
ClearExtraCounters()19*349cc55cSDimitry Andric void ClearExtraCounters() {}
20*349cc55cSDimitry Andric } // namespace fuzzer
21*349cc55cSDimitry Andric 
22*349cc55cSDimitry Andric #endif
23