1*9af467edSLuís Ferreira //===-- DummyDemanglerFuzzer.cpp - Entry point to sanity check the fuzzer -===// 2*9af467edSLuís Ferreira // 3*9af467edSLuís Ferreira // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*9af467edSLuís Ferreira // See https://llvm.org/LICENSE.txt for license information. 5*9af467edSLuís Ferreira // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*9af467edSLuís Ferreira // 7*9af467edSLuís Ferreira //===----------------------------------------------------------------------===// 8*9af467edSLuís Ferreira // 9*9af467edSLuís Ferreira // Implementation of main so we can build and test without linking libFuzzer. 10*9af467edSLuís Ferreira // 11*9af467edSLuís Ferreira //===----------------------------------------------------------------------===// 12*9af467edSLuís Ferreira 13*9af467edSLuís Ferreira #include "llvm/FuzzMutate/FuzzerCLI.h" 14*9af467edSLuís Ferreira 15*9af467edSLuís Ferreira extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); main(int argc,char * argv[])16*9af467edSLuís Ferreiraint main(int argc, char *argv[]) { 17*9af467edSLuís Ferreira return llvm::runFuzzerOnInputs(argc, argv, LLVMFuzzerTestOneInput); 18*9af467edSLuís Ferreira } 19