LLVM  4.0.0
Functions | Variables
CustomMutatorTest.cpp File Reference
#include <assert.h>
#include <cstdint>
#include <cstdlib>
#include <cstddef>
#include <iostream>
#include "FuzzerInterface.h"
Include dependency graph for CustomMutatorTest.cpp:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
 
size_t LLVMFuzzerCustomMutator (uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed)
 

Variables

static volatile int Sink
 

Function Documentation

size_t LLVMFuzzerCustomMutator ( uint8_t *  Data,
size_t  Size,
size_t  MaxSize,
unsigned int  Seed 
)

Definition at line 30 of file CustomMutatorTest.cpp.

References LLVMFuzzerMutate().

int LLVMFuzzerTestOneInput ( const uint8_t *  Data,
size_t  Size 
)

Definition at line 15 of file CustomMutatorTest.cpp.

References assert(), and Sink.

Variable Documentation

volatile int Sink
static

Definition at line 13 of file CustomMutatorTest.cpp.

Referenced by LLVMFuzzerTestOneInput().