LLVM  8.0.1
Public Member Functions | List of all members
llvm::IRMutator Class Reference

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)
 

Detailed Description

Entry point for configuring and running IR mutations.

Definition at line 61 of file IRMutator.h.

Constructor & Destructor Documentation

◆ IRMutator()

llvm::IRMutator::IRMutator ( std::vector< TypeGetter > &&  AllowedTypes,
std::vector< std::unique_ptr< IRMutationStrategy >> &&  Strategies 
)
inline

Definition at line 66 of file IRMutator.h.

References Seed.

Member Function Documentation

◆ mutateModule()

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.


The documentation for this class was generated from the following files: