14d7e47a5SMatt Morehouse //===--- DummyDemanglerMain.cpp - Entry point to sanity check the fuzzer --===// 24d7e47a5SMatt Morehouse // 3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 64d7e47a5SMatt Morehouse // 74d7e47a5SMatt Morehouse //===----------------------------------------------------------------------===// 84d7e47a5SMatt Morehouse // 94d7e47a5SMatt Morehouse // Implementation of main so we can build and test without linking libFuzzer. 104d7e47a5SMatt Morehouse // 114d7e47a5SMatt Morehouse //===----------------------------------------------------------------------===// 124d7e47a5SMatt Morehouse 134d7e47a5SMatt Morehouse #include "llvm/FuzzMutate/FuzzerCLI.h" 144d7e47a5SMatt Morehouse 154d7e47a5SMatt Morehouse extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); main(int argc,char * argv[])164d7e47a5SMatt Morehouseint main(int argc, char *argv[]) { 174d7e47a5SMatt Morehouse return llvm::runFuzzerOnInputs(argc, argv, LLVMFuzzerTestOneInput); 184d7e47a5SMatt Morehouse } 19