Home
last modified time | relevance | path

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

/src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/
H A Dget_error_info_fuzzer.cpp23 uintptr_t FaultAddr = FDP.ConsumeIntegral<uintptr_t>(); in LLVMFuzzerTestOneInput()
24 uintptr_t MemoryAddr = FDP.ConsumeIntegral<uintptr_t>(); in LLVMFuzzerTestOneInput()
/src/contrib/llvm-project/compiler-rt/include/fuzzer/
H A DFuzzedDataProvider.h59 template <typename T> T ConsumeIntegral();
194 template <typename T> T FuzzedDataProvider::ConsumeIntegral() { in ConsumeIntegral() function
282 T result = static_cast<T>(ConsumeIntegral<IntegralType>()); in ConsumeProbability()
289 return 1 & ConsumeIntegral<uint8_t>(); in ConsumeBool()