/external/oss-fuzz/projects/cctz/ |
D | fuzz_cctz.cc | 25 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 28 std::string tz = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 31 std::string date_format = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 32 std::string parse_format = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 36 fuzzed_data.ConsumeIntegral<uint32_t>(), in LLVMFuzzerTestOneInput() 37 fuzzed_data.ConsumeIntegral<uint32_t>(), in LLVMFuzzerTestOneInput() 38 fuzzed_data.ConsumeIntegral<uint32_t>(), in LLVMFuzzerTestOneInput() 39 fuzzed_data.ConsumeIntegral<uint32_t>(), in LLVMFuzzerTestOneInput() 40 fuzzed_data.ConsumeIntegral<uint32_t>(), in LLVMFuzzerTestOneInput() 41 fuzzed_data.ConsumeIntegral<uint32_t>()), lax); in LLVMFuzzerTestOneInput() [all …]
|
/external/tensorflow/tensorflow/security/fuzzing/ |
D | AreAttrValuesEqual_fuzz.cc | 52 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 55 const int random_int = fuzzed_data.ConsumeIntegralInRange(1, 100); in LLVMFuzzerTestOneInput() 56 const int random_int2 = fuzzed_data.ConsumeIntegralInRange(1, 1000); in LLVMFuzzerTestOneInput() 61 fuzzed_data.ConsumeFloatingPointInRange(1.0f, 1000.0f); in LLVMFuzzerTestOneInput() 63 fuzzed_data.ConsumeFloatingPointInRange(1.0f, 1000.0f); in LLVMFuzzerTestOneInput() 67 const int content_size = fuzzed_data.ConsumeIntegralInRange(10, 300); in LLVMFuzzerTestOneInput() 69 fuzzed_data.ConsumeRandomLengthString(content_size); in LLVMFuzzerTestOneInput() 70 const std::string test_string2 = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
D | string_replace_fuzz.cc | 28 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 32 bool all_flag = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput() 34 std::string s = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput() 35 std::string oldsub = fuzzed_data.ConsumeRandomLengthString(5); in LLVMFuzzerTestOneInput() 36 std::string newsub = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
D | stringprintf_fuzz.cc | 27 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 29 const char split = fuzzed_data.ConsumeIntegral<char>(); in LLVMFuzzerTestOneInput() 34 fuzzed_data.ConsumeBytesAsString(split_a), in LLVMFuzzerTestOneInput() 35 fuzzed_data.ConsumeBytesAsString(split_b), in LLVMFuzzerTestOneInput() 36 fuzzed_data.ConsumeRemainingBytesAsString(), in LLVMFuzzerTestOneInput()
|
D | tstring_fuzz.cc | 27 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 29 tensorflow::tstring base = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput() 31 while (fuzzed_data.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 32 tensorflow::tstring pair = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput()
|
D | joinpath_fuzz.cc | 28 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 31 const int content_size = fuzzed_data.ConsumeIntegralInRange(10, 300); in LLVMFuzzerTestOneInput() 33 std::string first = fuzzed_data.ConsumeRandomLengthString(content_size); in LLVMFuzzerTestOneInput() 34 std::string second = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
D | status_group_fuzz.cc | 41 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 43 while (fuzzed_data.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 44 uint32_t code = fuzzed_data.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput() 46 bool is_derived = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput()
|
D | ParseAttrValue_fuzz.cc | 35 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 38 std::string type = fuzzed_data.PickValueInArray( in LLVMFuzzerTestOneInput() 47 std::string text_string = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
D | consume_leading_digits_fuzz.cc | 28 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 30 while (fuzzed_data.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 31 std::string s = fuzzed_data.ConsumeRandomLengthString(25); in LLVMFuzzerTestOneInput()
|
D | status_fuzz.cc | 45 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 47 uint32_t code = fuzzed_data.ConsumeIntegral<uint32_t>(); in LLVMFuzzerTestOneInput() 50 error_message = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
D | bfloat16_fuzz.cc | 29 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 35 float_originals[i] = fuzzed_data.ConsumeFloatingPointInRange(1.0f, 1000.0f); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/leveldb/ |
D | fuzz_db.cc | 90 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 91 while (fuzzed_data.remaining_bytes() != 0) { in LLVMFuzzerTestOneInput() 92 FuzzOp fuzz_op = fuzzed_data.ConsumeEnum<FuzzOp>(); in LLVMFuzzerTestOneInput() 96 std::string key = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 97 std::string value = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 102 std::string key = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 108 std::string key = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 113 std::string name = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 140 std::string begin_key = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 141 std::string end_key = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/abseil-cpp/ |
D | string_utilities_fuzzer.cc | 29 FuzzedDataProvider fuzzed_data(data, size); in LLVMFuzzerTestOneInput() local 30 float float_value = fuzzed_data.ConsumeFloatingPoint<float>(); in LLVMFuzzerTestOneInput() 31 double double_value = fuzzed_data.ConsumeFloatingPoint<double>(); in LLVMFuzzerTestOneInput() 32 int int_value = fuzzed_data.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput() 33 bool bool_value = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput() 34 std::string str1 = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() 35 std::string str2 = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/boost/ |
D | boost_regex_fuzzer.cc | 23 FuzzedDataProvider fuzzed_data(Data, Size); in LLVMFuzzerTestOneInput() local 25 size_t regex_length = fuzzed_data.ConsumeIntegral<uint8_t>(); in LLVMFuzzerTestOneInput() 27 std::string regex_string = fuzzed_data.ConsumeBytesAsString(regex_length); in LLVMFuzzerTestOneInput() 30 std::string text = fuzzed_data.ConsumeRemainingBytesAsString(); in LLVMFuzzerTestOneInput()
|