Home
last modified time | relevance | path

Searched refs:ConsumeRandomLengthString (Results 1 – 25 of 36) sorted by relevance

12

/external/libbrillo/brillo/http/
Dhttp_form_data_fuzzer.cc23 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateTextFormField()
24 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateTextFormField()
25 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateTextFormField()
26 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength)); in CreateTextFormField()
32 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), nullptr); in CreateFileFormField()
34 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateFileFormField()
36 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateFileFormField()
37 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateFileFormField()
38 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength), in CreateFileFormField()
39 data_provider->ConsumeRandomLengthString(kRandomDataMaxLength)); in CreateFileFormField()
[all …]
/external/libbrillo/brillo/
Ddata_encoding_fuzzer.cc20 provider->ConsumeRandomLengthString(kMaxStringLength).c_str(), in FuzzUrlEncodeDecode()
24 provider->ConsumeRandomLengthString(kMaxStringLength).c_str()); in FuzzUrlEncodeDecode()
32 provider->ConsumeRandomLengthString(kMaxStringLength), in FuzzWebParamsEncodeDecode()
33 provider->ConsumeRandomLengthString(kMaxStringLength))); in FuzzWebParamsEncodeDecode()
38 provider->ConsumeRandomLengthString(kMaxStringLength)); in FuzzWebParamsEncodeDecode()
43 provider->ConsumeRandomLengthString(kMaxStringLength)); in FuzzBase64EncodeDecode()
46 provider->ConsumeRandomLengthString(kMaxStringLength), &output); in FuzzBase64EncodeDecode()
/external/oss-fuzz/projects/leveldb/
Dfuzz_db.cc96 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/selinux/libselinux/fuzzers/
Dselinux_check_access_fuzzer.cpp35 default: return fdp.ConsumeRandomLengthString(); in GetClass()
49 default: return fdp.ConsumeRandomLengthString(); in GetPermission()
58 std::string scon = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
59 std::string tcon = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
Dlsetfilecon_fuzzer.cpp27 std::string path = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
Dsetfilecon_fuzzer.cpp27 std::string path = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
DAndroidSetcontextFuzzer.cpp28 std::string pkgname = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
Dselabel_lookup_fuzzer.cpp39 std::string str = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
Dselinux_android_restorecon_fuzzer.cpp60 std::string file = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/cctz/
Dfuzz_cctz.cc28 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()
42 std::string format = fuzzed_data.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/spdlog/fuzz/
Dformat_fuzzer.cc57 const std::string pattern = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
58 my_formatter_txt = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
59 const std::string string_arg = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput()
Dbacktrace_fuzzer.cc39 spdlog::debug(stream.ConsumeRandomLengthString(size)); in LLVMFuzzerTestOneInput()
Dlevels_fuzzer.cc40 strings.push_back(stream.ConsumeRandomLengthString()); in LLVMFuzzerTestOneInput()
/external/scudo/standalone/fuzz/
Dget_error_info_fuzzer.cpp26 FDP.ConsumeRandomLengthString(FDP.remaining_bytes()); in LLVMFuzzerTestOneInput()
33 FDP.ConsumeRandomLengthString(FDP.remaining_bytes()); in LLVMFuzzerTestOneInput()
41 FDP.ConsumeRandomLengthString(FDP.remaining_bytes()); in LLVMFuzzerTestOneInput()
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/
DFuzzedDataProviderUnittest.cpp177 TEST(FuzzedDataProvider, ConsumeRandomLengthString) { in TEST() argument
183 DataProv.ConsumeRandomLengthString(1337)); in TEST()
192 DataProv.ConsumeRandomLengthString(31337)); in TEST()
195 DataProv.ConsumeRandomLengthString(5)); in TEST()
198 DataProv.ConsumeRandomLengthString(2)); in TEST()
203 DataProv.ConsumeRandomLengthString()); in TEST()
207 DataProv.ConsumeRandomLengthString()); in TEST()
213 EXPECT_EQ(std::string(), DataProv.ConsumeRandomLengthString(1)); in TEST()
/external/tensorflow/tensorflow/security/fuzzing/
Dtstring_fuzz.cc29 tensorflow::tstring base = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput()
32 tensorflow::tstring pair = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput()
Dstring_replace_fuzz.cc34 std::string s = fuzzed_data.ConsumeRandomLengthString(10); in LLVMFuzzerTestOneInput()
35 std::string oldsub = fuzzed_data.ConsumeRandomLengthString(5); in LLVMFuzzerTestOneInput()
Dconsume_leading_digits_fuzz.cc31 std::string s = fuzzed_data.ConsumeRandomLengthString(25); in LLVMFuzzerTestOneInput()
Djoinpath_fuzz.cc33 std::string first = fuzzed_data.ConsumeRandomLengthString(content_size); in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/phmap/
Dphashmap_fuzz.cc55 fuzzed_data.ConsumeRandomLengthString(), in test_assignments()
56 fuzzed_data.ConsumeRandomLengthString()); in test_assignments()
/external/pigweed/pw_fuzzer/public/pw_fuzzer/
Dfuzzed_data_provider.h70 std::string ConsumeRandomLengthString(size_t /* max_length */) { in ConsumeRandomLengthString() function
74 std::string ConsumeRandomLengthString() { return std::string{}; } in ConsumeRandomLengthString() function
/external/libbrillo/brillo/dbus/
Ddata_serialization_fuzzer.cc79 data_provider->ConsumeRandomLengthString(kRandomMaxDataLength); in GenerateValidUTF8()
152 data_provider.ConsumeRandomLengthString(kRandomMaxDataLength); in LLVMFuzzerTestOneInput()
197 data_provider.ConsumeRandomLengthString(kRandomMaxDataLength); in LLVMFuzzerTestOneInput()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/
Dre2_fuzzer.cc166 std::string pattern = fdp.ConsumeRandomLengthString(999); in LLVMFuzzerTestOneInput()
167 std::string text = fdp.ConsumeRandomLengthString(999); in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/openvpn/
Dfuzz.h17 std::string s1 = provider.ConsumeRandomLengthString(); in get_modifiable_string()
/external/libchrome/base/test/
Dfuzzed_data_provider.h40 std::string ConsumeRandomLengthString(size_t max_length);

12