Mercurial > hg > CbC > CbC_llvm
comparison tools/llvm-demangle-fuzzer/DummyDemanglerFuzzer.cpp @ 122:36195a0db682
merging ( incomplete )
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Nov 2017 20:32:31 +0900 |
parents | 803732b1fca8 |
children |
comparison
equal
deleted
inserted
replaced
119:d9df2cbd60cd | 122:36195a0db682 |
---|---|
1 //===--- DummyDemanglerMain.cpp - Entry point to sanity check the fuzzer --===// | |
2 // | |
3 // The LLVM Compiler Infrastructure | |
4 // | |
5 // This file is distributed under the University of Illinois Open Source | |
6 // License. See LICENSE.TXT for details. | |
7 // | |
8 //===----------------------------------------------------------------------===// | |
9 // | |
10 // Implementation of main so we can build and test without linking libFuzzer. | |
11 // | |
12 //===----------------------------------------------------------------------===// | |
13 | |
14 #include "llvm/FuzzMutate/FuzzerCLI.h" | |
15 | |
16 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); | |
17 int main(int argc, char *argv[]) { | |
18 return llvm::runFuzzerOnInputs(argc, argv, LLVMFuzzerTestOneInput); | |
19 } |