aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/test/AFLDriverTest.cpp
blob: 576c53808b702e4a0017c873883e81b481ce5462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.

// Contains dummy functions used to avoid dependency on AFL.
#include <stdint.h>
#include <stdlib.h>

extern "C" void __afl_manual_init() {}

extern "C" int __afl_persistent_loop(unsigned int) {
  return 0;
}

extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
  return 0;
}