LLVM  6.0.0svn
Namespaces | Typedefs | Functions
FuzzerCLI.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/DataTypes.h"
Include dependency graph for FuzzerCLI.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Typedefs

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

Functions

void llvm::parseFuzzerCLOpts (int ArgC, char *ArgV[])
 Parse cl::opts from a fuzz target commandline. More...
 
void llvm::handleExecNameEncodedBEOpts (StringRef ExecName)
 Handle backend options that are encoded in the executable name. More...
 
void llvm::handleExecNameEncodedOptimizerOpts (StringRef ExecName)
 Handle optimizer options which are encoded in the executable name. More...
 
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. More...
 
std::unique_ptr< Modulellvm::parseModule (const uint8_t *Data, size_t Size, LLVMContext &Context)
 Fuzzer friendly interface for the llvm bitcode parser. More...
 
size_t llvm::writeModule (const Module &M, uint8_t *Dest, size_t MaxSize)
 Fuzzer friendly interface for the llvm bitcode printer. More...