19 std::string Str(reinterpret_cast<const char *>(Data), Size);
20 if (Size && Data[0] ==
'0')
26 const uint8_t *Data2,
size_t Size2,
27 uint8_t *Out,
size_t MaxOutSize,
29 std::vector<uint8_t> Buffer(MaxOutSize * 10);
32 memcpy(Out, Data1, Size);
static cl::opt< unsigned long long > Seed("rng-seed", cl::value_desc("seed"), cl::desc("Seed for the random number generator"), cl::init(0))
Maximum length of the test input libFuzzer tries to guess a good value based on the corpus and reports it always prefer smaller inputs during the corpus shuffle When libFuzzer itself reports a bug this exit code will be used If indicates the maximal total time in seconds to run the fuzzer minimizes the provided crash input Use with tries to cleanse the provided crash input to make it contain fewer original bytes Use with exact_artifact_path to specify the output Experimental Use value profile to guide fuzzing Number of jobs to run If min(jobs, NumberOfCpuCores()/2)\" is used.") FUZZER_FLAG_INT(reload
size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize)
size_t LLVMFuzzerCustomCrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2, size_t Size2, uint8_t *Out, size_t MaxOutSize, unsigned int Seed)
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.