Home
last modified time | relevance | path

Searched refs:fdp (Results 1 – 2 of 2) sorted by relevance

/tools/security/fuzzing/system_fuzzers/libwatchdog_perf_service/
Dlibwatchdog_perf_service_fuzzer.cpp42 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
48 while (fdp.remaining_bytes() > (size / 2)) { in LLVMFuzzerTestOneInput()
49 uint64_t val = fdp.ConsumeIntegral<uint64_t>(); in LLVMFuzzerTestOneInput()
58 while (fdp.remaining_bytes() > 5) { in LLVMFuzzerTestOneInput()
59 uint32_t choose = fdp.ConsumeIntegralInRange<uint32_t>(0, 3); in LLVMFuzzerTestOneInput()
67 idx = fdp.ConsumeIntegralInRange<uint32_t>(3, 12); in LLVMFuzzerTestOneInput()
74 uint64_t val = fdp.ConsumeIntegral<uint64_t>(); in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/system_fuzzers/libcrypto_utils/
Dlibcrypto_utils_fuzzer.cpp33 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
39 uint32_t n0inv = fdp.ConsumeIntegralInRange<uint32_t>(0,std::numeric_limits<uint32_t>::max()); in LLVMFuzzerTestOneInput()
42 std::string s = fdp.ConsumeBytesAsString(ANDROID_PUBKEY_MODULUS_SIZE); in LLVMFuzzerTestOneInput()
47 std::string ss = fdp.ConsumeBytesAsString(ANDROID_PUBKEY_MODULUS_SIZE); in LLVMFuzzerTestOneInput()
52 int flip = fdp.ConsumeIntegralInRange<uint32_t>(0,1); in LLVMFuzzerTestOneInput()