Home
last modified time | relevance | path

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

/tools/security/fuzzing/llm/frameDecoder_fuzzer2/
DFrameDecoderFuzzer2.cpp32 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
34 std::string name = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
36 sp<MetaData> trackMeta = generateMetaData(&fdp); in LLVMFuzzerTestOneInput()
37 sp<IMediaSource> source = new IMediaSourceFuzzImpl(&fdp, MAX_MEDIA_BUFFER_SIZE); in LLVMFuzzerTestOneInput()
41 bool isVideoDecoder = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput()
48 while (fdp.remaining_bytes()) { in LLVMFuzzerTestOneInput()
49 if (fdp.ConsumeBool()) { in LLVMFuzzerTestOneInput()
50 int64_t frameTimeUs = fdp.ConsumeIntegral<int64_t>(); in LLVMFuzzerTestOneInput()
51 int option = fdp.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput()
52 int colorFormat = fdp.ConsumeIntegral<int>(); in LLVMFuzzerTestOneInput()
[all …]
/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.cpp34 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
40 uint32_t n0inv = fdp.ConsumeIntegralInRange<uint32_t>(0,std::numeric_limits<uint32_t>::max()); in LLVMFuzzerTestOneInput()
43 std::string s = fdp.ConsumeBytesAsString(ANDROID_PUBKEY_MODULUS_SIZE); in LLVMFuzzerTestOneInput()
48 std::string ss = fdp.ConsumeBytesAsString(ANDROID_PUBKEY_MODULUS_SIZE); in LLVMFuzzerTestOneInput()
53 int flip = fdp.ConsumeIntegralInRange<uint32_t>(0,1); in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/orphans/libufdt/
Dlibufdt_fuzzer.cpp42 FuzzedDataProvider fdp(data, size); in LLVMFuzzerTestOneInput() local
45 auto hdr = fdp.ConsumeBytes<uint8_t>(4); in LLVMFuzzerTestOneInput()
55 auto dtb = fdp.ConsumeBytes<uint8_t>(dtb_len); in LLVMFuzzerTestOneInput()
56 auto overlay = fdp.ConsumeRemainingBytes<uint8_t>(); in LLVMFuzzerTestOneInput()
/tools/netsim/src/hci/
Dasync_manager.cc204 for (auto &fdp : watched_shared_fds_) { in setUpFileDescriptorSet() local
205 read_fds->update(fdp.first, SocketWaiter::Event::kEventRead); in setUpFileDescriptorSet()