#include "./fuzztest/internal/corpus_database.h"
#include <cstdlib>
#include <string>
#include <vector>
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "./fuzztest/internal/configuration.h"
#include "./fuzztest/internal/io.h"
namespace fuzztest::internal {
namespace {
std::vector<std::string> GetInputs(
absl::string_view corpus_path_for_test_binary, absl::string_view test_name,
absl::string_view subdir) { … }
}
CorpusDatabase::CorpusDatabase(absl::string_view database_path,
absl::string_view binary_identifier,
bool use_coverage_inputs,
bool use_crashing_inputs)
: … { … }
CorpusDatabase::CorpusDatabase(const Configuration& configuration)
: … { … }
std::vector<std::string> CorpusDatabase::GetRegressionInputs(
absl::string_view test_name) const { … }
std::vector<std::string> CorpusDatabase::GetCrashingInputsIfAny(
absl::string_view test_name) const { … }
std::vector<std::string> CorpusDatabase::GetCoverageInputsIfAny(
absl::string_view test_name) const { … }
}