Utility for consuming fuzz data into fundamental and standard types.
Declared in <bslim_fuzzutil.h>
struct FuzzUtil;
This utility struct provides a namespace for a suite of functions operating on objects of type FuzzDataView and providing the consumption of fuzz data bytes into fundamental and standard library types.
| Name | Description |
|---|---|
consumeBool | Return a bool value based upon consuming a single byte from the specified fuzzDataView. If fuzzDataView->length() is 0, return false. |
consumeNumber | Return a value of (template parameter) TYPE across its full range. |
consumeNumberInRange | consumeNumberInRange overloads |
consumeRandomLengthAsciiString | consumeRandomLengthAsciiString overloads |
consumeRandomLengthChars | consumeRandomLengthChars overloads |
consumeRandomLengthString | consumeRandomLengthString overloads |