|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <random>#include <vector>#include "barretenberg/avm_fuzzer/common/weighted_selection.hpp"#include "barretenberg/avm_fuzzer/fuzz_lib/fuzzer_context.hpp"#include "barretenberg/avm_fuzzer/fuzz_lib/fuzzer_data.hpp"#include "barretenberg/vm2/common/avm_io.hpp"#include "barretenberg/vm2/common/aztec_types.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::avm2 |
| namespace | bb::avm2::fuzzer |
Typedefs | |
| using | TxMutationConfig = WeightedSelectionConfig< TxMutationOptions, 5 > |
Enumerations | |
| enum class | TxMutationOptions { SetupEnqueuedCalls , AppLogicEnqueuedCalls , TearDownEnqueuedCall , NonRevertibleData , RevertibleData } |
Functions | |
| void | bb::avm2::fuzzer::mutate_tx (Tx &tx, std::vector< AztecAddress > &contract_addresses, std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas_settings (GasSettings &gas_settings, std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas (Gas &gas, std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas_fees (GasFees &fees, std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_fuzzer_data_vec (const FuzzerContext &context, std::vector< FuzzerData > &enqueued_calls, std::mt19937_64 &rng, size_t max_size) |
Variables | |
| constexpr TxMutationConfig | TX_MUTATION_CONFIGURATION |
| using TxMutationConfig = WeightedSelectionConfig<TxMutationOptions, 5> |
Definition at line 20 of file tx_data.hpp.
|
strong |
| Enumerator | |
|---|---|
| SetupEnqueuedCalls | |
| AppLogicEnqueuedCalls | |
| TearDownEnqueuedCall | |
| NonRevertibleData | |
| RevertibleData | |
Definition at line 12 of file tx_data.hpp.
|
constexpr |
Definition at line 22 of file tx_data.hpp.