LLVM  6.0.0svn
Classes | Namespaces | Macros | Functions | Variables
FuzzerLoop.cpp File Reference
#include "FuzzerCorpus.h"
#include "FuzzerIO.h"
#include "FuzzerInternal.h"
#include "FuzzerMutate.h"
#include "FuzzerRandom.h"
#include "FuzzerShmem.h"
#include "FuzzerTracePC.h"
#include <algorithm>
#include <cstring>
#include <memory>
#include <set>
Include dependency graph for FuzzerLoop.cpp:

Go to the source code of this file.

Classes

struct  fuzzer::MallocFreeTracer
 

Namespaces

 fuzzer
 

Macros

#define NO_SANITIZE_MEMORY
 

Functions

ATTRIBUTE_NO_SANITIZE_MEMORY void fuzzer::MallocHook (const volatile void *ptr, size_t size)
 
ATTRIBUTE_NO_SANITIZE_MEMORY void fuzzer::FreeHook (const volatile void *ptr)
 
static bool fuzzer::LooseMemeq (const uint8_t *A, const uint8_t *B, size_t Size)
 
size_t LLVMFuzzerMutate (uint8_t *Data, size_t Size, size_t MaxSize)
 
void LLVMFuzzerAnnounceOutput (const uint8_t *Data, size_t Size)
 

Variables

static const size_t fuzzer::kMaxUnitSizeToPrint = 256
 
SharedMemoryRegion fuzzer::SMR
 
static Fuzzer * fuzzer::F
 
static MallocFreeTracer fuzzer::AllocTracer
 

Macro Definition Documentation

◆ NO_SANITIZE_MEMORY

#define NO_SANITIZE_MEMORY

Function Documentation

◆ LLVMFuzzerAnnounceOutput()

void LLVMFuzzerAnnounceOutput ( const uint8_t *  Data,
size_t  Size 
)

Definition at line 718 of file FuzzerLoop.cpp.

References fuzzer::Fuzzer::AnnounceOutput(), assert(), and fuzzer::F.

◆ LLVMFuzzerMutate()

size_t LLVMFuzzerMutate ( uint8_t *  Data,
size_t  Size,
size_t  MaxSize 
)