summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-demangle-fuzzer/DummyDemanglerFuzzer.cpp
blob: a2bf9f1b807e5c20b61842e71791829ebd4b4561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===--- DummyDemanglerMain.cpp - Entry point to sanity check the fuzzer --===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Implementation of main so we can build and test without linking libFuzzer.
//
//===----------------------------------------------------------------------===//

#include "llvm/FuzzMutate/FuzzerCLI.h"

extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
int main(int argc, char *argv[]) {
  return llvm::runFuzzerOnInputs(argc, argv, LLVMFuzzerTestOneInput);
}
OpenPOWER on IntegriCloud