LLVM  6.0.0svn
Namespaces | Functions
FuzzerUtil.h File Reference
#include "FuzzerDefs.h"
Include dependency graph for FuzzerUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fuzzer
 

Functions

void fuzzer::PrintHexArray (const Unit &U, const char *PrintAfter="")
 
void fuzzer::PrintHexArray (const uint8_t *Data, size_t Size, const char *PrintAfter)
 
void fuzzer::PrintASCII (const uint8_t *Data, size_t Size, const char *PrintAfter)
 
void fuzzer::PrintASCII (const Unit &U, const char *PrintAfter)
 
bool fuzzer::ToASCII (uint8_t *Data, size_t Size)
 
bool fuzzer::IsASCII (const Unit &U)
 
bool fuzzer::IsASCII (const uint8_t *Data, size_t Size)
 
std::string fuzzer::Base64 (const Unit &U)
 
void fuzzer::PrintPC (const char *SymbolizedFMT, const char *FallbackFMT, uintptr_t PC)
 
std::string fuzzer::DescribePC (const char *SymbolizedFMT, uintptr_t PC)
 
unsigned fuzzer::NumberOfCpuCores ()
 
void fuzzer::SetSignalHandler (const FuzzingOptions &Options)
 
void fuzzer::SleepSeconds (int Seconds)
 
unsigned long fuzzer::GetPid ()
 
size_t fuzzer::GetPeakRSSMb ()
 
int fuzzer::ExecuteCommand (const std::string &Command)
 
FILE * fuzzer::OpenProcessPipe (const char *Command, const char *Mode)
 
const void * fuzzer::SearchMemory (const void *haystack, size_t haystacklen, const void *needle, size_t needlelen)
 
std::string fuzzer::CloneArgsWithoutX (const std::vector< std::string > &Args, const char *X1, const char *X2)
 
std::string fuzzer::CloneArgsWithoutX (const std::vector< std::string > &Args, const char *X)
 
std::pair< std::string, std::string > fuzzer::SplitBefore (std::string X, std::string S)
 
std::string fuzzer::DisassembleCmd (const std::string &FileName)
 
std::string fuzzer::SearchRegexCmd (const std::string &Regex)
 
size_t fuzzer::SimpleFastHash (const uint8_t *Data, size_t Size)