llvm::IRMutator

Entry point for configuring and running IR mutations.

Synopsis

Declared in <llvm/FuzzMutate/IRMutator.h>

class IRMutator;

Member Functions

NameDescription
IRMutator [constructor]Construct an IR mutator with the given allowed types and strategies.
mutateModule Mutate given module. No change will be made if no strategy is selected.

Static Member Functions

NameDescription
getModuleSize Calculate the size of module as the number of objects in it, i.e. instructions, basic blocks, functions, and aliases.