LLVM
8.0.1
|
Entry point for configuring and running IR mutations. More...
#include "llvm/FuzzMutate/IRMutator.h"
Public Member Functions | |
IRMutator (std::vector< TypeGetter > &&AllowedTypes, std::vector< std::unique_ptr< IRMutationStrategy >> &&Strategies) | |
void | mutateModule (Module &M, int Seed, size_t CurSize, size_t MaxSize) |
Entry point for configuring and running IR mutations.
Definition at line 61 of file IRMutator.h.
|
inline |
Definition at line 66 of file IRMutator.h.
References Seed.
void IRMutator::mutateModule | ( | Module & | M, |
int | Seed, | ||
size_t | CurSize, | ||
size_t | MaxSize | ||
) |
Definition at line 55 of file IRMutator.cpp.
References llvm::Module::getContext(), and llvm::RandomIRBuilder::Rand.