Utility for consuming fuzz data into fundamental and standard types.

Synopsis

Declared in <bslim_fuzzutil.h>

struct FuzzUtil;

Description

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.

Static Member Functions

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

Created with MrDocs