Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
memory_tag.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/avm_fuzzer/mutations/configuration.hpp
"
4
#include "
barretenberg/vm2/common/memory_types.hpp
"
5
6
using
MemoryTag
=
bb::avm2::MemoryTag
;
7
8
MemoryTag
generate_memory_tag
(
std::mt19937_64
& rng,
const
MemoryTagGenerationConfig
& config);
9
void
mutate_memory_tag
(
MemoryTag
&
value
,
std::mt19937_64
& rng,
const
MemoryTagMutationConfig
& config);
10
12
void
mutate_or_default_tag
(
MemoryTag
&
value
,
std::mt19937_64
& rng,
MemoryTag
default_tag,
double
probability = 0.1);
WeightedSelectionConfig
Definition
weighted_selection.hpp:8
configuration.hpp
generate_memory_tag
MemoryTag generate_memory_tag(std::mt19937_64 &rng, const MemoryTagGenerationConfig &config)
Definition
memory_tag.cpp:8
mutate_or_default_tag
void mutate_or_default_tag(MemoryTag &value, std::mt19937_64 &rng, MemoryTag default_tag, double probability=0.1)
Mutate the memory tag or set to the chosen tag with a given probability.
Definition
memory_tag.cpp:57
mutate_memory_tag
void mutate_memory_tag(MemoryTag &value, std::mt19937_64 &rng, const MemoryTagMutationConfig &config)
Definition
memory_tag.cpp:29
memory_types.hpp
bb::avm2::ValueTag
ValueTag
Definition
tagged_value.hpp:36
bb::avm2::MemoryTag
ValueTag MemoryTag
Definition
memory_types.hpp:9
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
value
FF value
Definition
public_data_tree.test.cpp:97
src
barretenberg
avm_fuzzer
mutations
basic_types
memory_tag.hpp
Generated by
1.9.8