#include "FuzzerDataFlowTrace.h"
#include "FuzzerCommand.h"
#include "FuzzerIO.h"
#include "FuzzerRandom.h"
#include "FuzzerSHA1.h"
#include "FuzzerUtil.h"
#include <cstdlib>
#include <fstream>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
namespace fuzzer {
static const char *kFunctionsTxt = …;
bool BlockCoverage::AppendCoverage(const std::string &S) { … }
bool BlockCoverage::AppendCoverage(std::istream &IN) { … }
std::vector<double> BlockCoverage::FunctionWeights(size_t NumFunctions) const { … }
void DataFlowTrace::ReadCoverage(const std::string &DirPath) { … }
static void DFTStringAppendToVector(std::vector<uint8_t> *DFT,
const std::string &DFTString) { … }
static std::vector<uint8_t> DFTStringToVector(const std::string &DFTString) { … }
static bool ParseError(const char *Err, const std::string &Line) { … }
static bool ParseDFTLine(const std::string &Line, size_t *FunctionNum,
std::string *DFTString) { … }
bool DataFlowTrace::Init(const std::string &DirPath, std::string *FocusFunction,
std::vector<SizedFile> &CorporaFiles, Random &Rand) { … }
int CollectDataFlow(const std::string &DFTBinary, const std::string &DirPath,
const std::vector<SizedFile> &CorporaFiles) { … }
}