15 #ifndef LLVM_FUZZMUTATE_FUZZER_CLI_H 16 #define LLVM_FUZZMUTATE_FUZZER_CLI_H 74 std::unique_ptr<Module>
parseAndVerify(
const uint8_t *Data,
size_t Size,
79 #endif // LLVM_FUZZMUTATE_FUZZER_CLI_H
int(*)(int *argc, char ***argv) FuzzerInitFun
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
std::unique_ptr< Module > parseAndVerify(const uint8_t *Data, size_t Size, LLVMContext &Context)
Try to parse module and verify it.
size_t writeModule(const Module &M, uint8_t *Dest, size_t MaxSize)
Fuzzer friendly interface for the llvm bitcode printer.
void handleExecNameEncodedBEOpts(StringRef ExecName)
Handle backend options that are encoded in the executable name.
void parseFuzzerCLOpts(int ArgC, char *ArgV[])
Parse cl::opts from a fuzz target commandline.
This is an important class for using LLVM in a threaded context.
int runFuzzerOnInputs(int ArgC, char *ArgV[], FuzzerTestFun TestOne, FuzzerInitFun Init=[](int *, char ***) { return 0;})
Runs a fuzz target on the inputs specified on the command line.
int(*)(const uint8_t *Data, size_t Size) FuzzerTestFun
std::unique_ptr< Module > parseModule(const uint8_t *Data, size_t Size, LLVMContext &Context)
Fuzzer friendly interface for the llvm bitcode parser.
void handleExecNameEncodedOptimizerOpts(StringRef ExecName)
Handle optimizer options which are encoded in the executable name.