|
template<typename... Callables> |
size_t | CallOneOf (FuzzedDataProvider &fuzzed_data_provider, Callables... callables) |
|
template<typename Collection > |
auto & | PickValue (FuzzedDataProvider &fuzzed_data_provider, Collection &col) |
|
template<typename B = uint8_t> |
std::vector< B > | ConsumeRandomLengthByteVector (FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept |
|
std::vector< bool > | ConsumeRandomLengthBitVector (FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept |
|
DataStream | ConsumeDataStream (FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept |
|
std::vector< std::string > | ConsumeRandomLengthStringVector (FuzzedDataProvider &fuzzed_data_provider, const size_t max_vector_size=16, const size_t max_string_length=16) noexcept |
|
template<typename T > |
std::vector< T > | ConsumeRandomLengthIntegralVector (FuzzedDataProvider &fuzzed_data_provider, const size_t max_vector_size=16) noexcept |
|
template<typename P > |
P | ConsumeDeserializationParams (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
template<typename T , typename P > |
std::optional< T > | ConsumeDeserializable (FuzzedDataProvider &fuzzed_data_provider, const P ¶ms, const std::optional< size_t > &max_length=std::nullopt) noexcept |
|
template<typename T > |
std::optional< T > | ConsumeDeserializable (FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept |
|
template<typename WeakEnumType , size_t size> |
WeakEnumType | ConsumeWeakEnum (FuzzedDataProvider &fuzzed_data_provider, const WeakEnumType(&all_types)[size]) noexcept |
|
opcodetype | ConsumeOpcodeType (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CAmount | ConsumeMoney (FuzzedDataProvider &fuzzed_data_provider, const std::optional< CAmount > &max=std::nullopt) noexcept |
|
int64_t | ConsumeTime (FuzzedDataProvider &fuzzed_data_provider, const std::optional< int64_t > &min=std::nullopt, const std::optional< int64_t > &max=std::nullopt) noexcept |
|
CMutableTransaction | ConsumeTransaction (FuzzedDataProvider &fuzzed_data_provider, const std::optional< std::vector< Txid > > &prevout_txids, const int max_num_in=10, const int max_num_out=10) noexcept |
|
CScriptWitness | ConsumeScriptWitness (FuzzedDataProvider &fuzzed_data_provider, const size_t max_stack_elem_size=32) noexcept |
|
CScript | ConsumeScript (FuzzedDataProvider &fuzzed_data_provider, const bool maybe_p2wsh=false) noexcept |
|
uint32_t | ConsumeSequence (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CScriptNum | ConsumeScriptNum (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
uint160 | ConsumeUInt160 (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
uint256 | ConsumeUInt256 (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
arith_uint256 | ConsumeArithUInt256 (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
arith_uint256 | ConsumeArithUInt256InRange (FuzzedDataProvider &fuzzed_data_provider, const arith_uint256 &min, const arith_uint256 &max) noexcept |
|
std::map< COutPoint, Coin > | ConsumeCoins (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CTxDestination | ConsumeTxDestination (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
CKey | ConsumePrivateKey (FuzzedDataProvider &fuzzed_data_provider, std::optional< bool > compressed=std::nullopt) noexcept |
|
template<typename T > |
bool | MultiplicationOverflow (const T i, const T j) noexcept |
|
bool | ContainsSpentInput (const CTransaction &tx, const CCoinsViewCache &inputs) noexcept |
|
template<typename T , size_t size> |
void | SetFuzzedErrNo (FuzzedDataProvider &fuzzed_data_provider, const std::array< T, size > &errnos) |
| Sets errno to a value selected from the given std::array errnos . More...
|
|
void | SetFuzzedErrNo (FuzzedDataProvider &fuzzed_data_provider) noexcept |
|
template<typename B = uint8_t> |
std::vector< B > | ConsumeFixedLengthByteVector (FuzzedDataProvider &fuzzed_data_provider, const size_t length) noexcept |
| Returns a byte vector of specified size regardless of the number of remaining bytes available from the fuzzer. More...
|
|
template<typename Stream > |
void | WriteToStream (FuzzedDataProvider &fuzzed_data_provider, Stream &stream) noexcept |
|
template<typename Stream > |
void | ReadFromStream (FuzzedDataProvider &fuzzed_data_provider, Stream &stream) noexcept |
|