aboutsummaryrefslogtreecommitdiff
blob: c7e81a5478b25885a3d3cb0eeebb1a1ea678fd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.

// Make sure LLVMFuzzerInitialize does not change argv[0].
#include <stddef.h>
#include <stdint.h>

extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) {
  ***argv = 'X';
  return 0;
}

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