LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
fuzzer::MallocFreeTracer Struct Reference
Collaboration diagram for fuzzer::MallocFreeTracer:
Collaboration graph
[legend]

Public Member Functions

void Start (int TraceLevel)
 
bool Stop ()
 

Public Attributes

std::atomic< size_t > Mallocs
 
std::atomic< size_t > Frees
 
int TraceLevel = 0
 

Detailed Description

Definition at line 50 of file FuzzerLoop.cpp.

Member Function Documentation

◆ Start()

void fuzzer::MallocFreeTracer::Start ( int  TraceLevel)
inline

Definition at line 51 of file FuzzerLoop.cpp.

References Frees, Mallocs, fuzzer::Printf(), and TraceLevel.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

◆ Stop()

bool fuzzer::MallocFreeTracer::Stop ( )
inline

Definition at line 59 of file FuzzerLoop.cpp.

References Frees, Mallocs, fuzzer::Printf(), and TraceLevel.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

Member Data Documentation

◆ Frees

std::atomic<size_t> fuzzer::MallocFreeTracer::Frees

Definition at line 70 of file FuzzerLoop.cpp.

Referenced by fuzzer::FreeHook(), Start(), and Stop().

◆ Mallocs

std::atomic<size_t> fuzzer::MallocFreeTracer::Mallocs

Definition at line 69 of file FuzzerLoop.cpp.

Referenced by fuzzer::MallocHook(), Start(), and Stop().

◆ TraceLevel

int fuzzer::MallocFreeTracer::TraceLevel = 0

Definition at line 71 of file FuzzerLoop.cpp.

Referenced by fuzzer::FreeHook(), fuzzer::MallocHook(), Start(), and Stop().


The documentation for this struct was generated from the following file: