|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Functions | |
| MemoryValue | read_mem_value (FuzzedDataProvider &fdp) |
| Read a MemoryValue from the fuzzed data provider. | |
| bb::avm2::MemoryValue bb::avm2::fuzzing::read_mem_value | ( | FuzzedDataProvider & | fdp | ) |
Read a MemoryValue from the fuzzed data provider.
This function consumes 32 bytes from the fuzzer to create a uint256_t value, then selects a random MemoryTag and creates a MemoryValue with that tag, truncating the value to fit the tag if necessary.
| fdp | The FuzzedDataProvider to consume data from |
Definition at line 16 of file mutation_helper.cpp.