LLVM 22.0.0git
FuzzerCLI.h File Reference
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DataTypes.h"
#include <stddef.h>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Typedefs

using llvm::FuzzerTestFun = int (*)(const uint8_t *Data, size_t Size)
using llvm::FuzzerInitFun = int (*)(int *argc, char ***argv)

Functions

LLVM_ABI void llvm::parseFuzzerCLOpts (int ArgC, char *ArgV[])
 Parse cl::opts from a fuzz target commandline.
LLVM_ABI void llvm::handleExecNameEncodedBEOpts (StringRef ExecName)
 Handle backend options that are encoded in the executable name.
LLVM_ABI void llvm::handleExecNameEncodedOptimizerOpts (StringRef ExecName)
 Handle optimizer options which are encoded in the executable name.
LLVM_ABI int llvm::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.