#include <FuzzedDataProvider.h>
Definition at line 32 of file FuzzedDataProvider.h.
◆ FuzzedDataProvider() [1/2]
FuzzedDataProvider::FuzzedDataProvider |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ ~FuzzedDataProvider()
FuzzedDataProvider::~FuzzedDataProvider |
( |
| ) |
|
|
default |
◆ FuzzedDataProvider() [2/2]
◆ Advance()
void FuzzedDataProvider::Advance |
( |
size_t |
num_bytes | ) |
|
|
inlineprivate |
◆ ConsumeBool()
bool FuzzedDataProvider::ConsumeBool |
( |
| ) |
|
|
inline |
◆ ConsumeBytes() [1/2]
std::vector< T > FuzzedDataProvider::ConsumeBytes |
( |
size_t |
num_bytes | ) |
|
◆ ConsumeBytes() [2/2]
std::vector< T > FuzzedDataProvider::ConsumeBytes |
( |
size_t |
size, |
|
|
size_t |
num_bytes |
|
) |
| |
|
private |
◆ ConsumeBytesAsString()
std::string FuzzedDataProvider::ConsumeBytesAsString |
( |
size_t |
num_bytes | ) |
|
|
inline |
◆ ConsumeBytesWithTerminator()
std::vector< T > FuzzedDataProvider::ConsumeBytesWithTerminator |
( |
size_t |
num_bytes, |
|
|
T |
terminator = 0 |
|
) |
| |
◆ ConsumeData()
size_t FuzzedDataProvider::ConsumeData |
( |
void * |
destination, |
|
|
size_t |
num_bytes |
|
) |
| |
|
inline |
◆ ConsumeEnum()
T FuzzedDataProvider::ConsumeEnum |
◆ ConsumeFloatingPoint()
T FuzzedDataProvider::ConsumeFloatingPoint |
◆ ConsumeFloatingPointInRange()
T FuzzedDataProvider::ConsumeFloatingPointInRange |
( |
T |
min, |
|
|
T |
max |
|
) |
| |
◆ ConsumeIntegral()
T FuzzedDataProvider::ConsumeIntegral |
◆ ConsumeIntegralInRange()
T FuzzedDataProvider::ConsumeIntegralInRange |
( |
T |
min, |
|
|
T |
max |
|
) |
| |
◆ ConsumeProbability()
T FuzzedDataProvider::ConsumeProbability |
◆ ConsumeRandomLengthString() [1/2]
std::string FuzzedDataProvider::ConsumeRandomLengthString |
( |
| ) |
|
|
inline |
◆ ConsumeRandomLengthString() [2/2]
std::string FuzzedDataProvider::ConsumeRandomLengthString |
( |
size_t |
max_length | ) |
|
|
inline |
◆ ConsumeRemainingBytes()
std::vector< T > FuzzedDataProvider::ConsumeRemainingBytes |
◆ ConsumeRemainingBytesAsString()
std::string FuzzedDataProvider::ConsumeRemainingBytesAsString |
( |
| ) |
|
|
inline |
◆ ConvertUnsignedToSigned()
template<typename TS , typename TU >
TS FuzzedDataProvider::ConvertUnsignedToSigned |
( |
TU |
value | ) |
|
|
private |
◆ CopyAndAdvance()
void FuzzedDataProvider::CopyAndAdvance |
( |
void * |
destination, |
|
|
size_t |
num_bytes |
|
) |
| |
|
inlineprivate |
◆ operator=()
◆ PickValueInArray() [1/3]
template<typename
T , size_t size>
T FuzzedDataProvider::PickValueInArray |
( |
const std::array< T, size > & |
array | ) |
|
◆ PickValueInArray() [2/3]
template<typename
T , size_t size>
T FuzzedDataProvider::PickValueInArray |
( |
const T(&) |
array[size] | ) |
|
◆ PickValueInArray() [3/3]
T FuzzedDataProvider::PickValueInArray |
( |
std::initializer_list< const T > |
list | ) |
|
◆ remaining_bytes()
size_t FuzzedDataProvider::remaining_bytes |
( |
| ) |
|
|
inline |
◆ data_ptr_
const uint8_t* FuzzedDataProvider::data_ptr_ |
|
private |
◆ remaining_bytes_
size_t FuzzedDataProvider::remaining_bytes_ |
|
private |
The documentation for this class was generated from the following file: