Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
configuration.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6
7constexpr uint8_t MAX_MUTATION_NUM = 20;
8
10
12
18});
19
20// Generic uint mutation options (used by all uint types)
22
23// Type aliases for backward compatibility
29
35
41});
42
48});
49
55});
56
62});
63
69});
70
72
74
80});
81
82enum class MemoryTagOptions { U1, U8, U16, U32, U64, U128, FF };
83
85
94});
95
97
106});
107
116});
117
126 });
127
129
131
136 });
137
139
141
147 });
148
150
152
157});
158
160
162
167});
168
170
172
177});
178
180
182
187});
188
190
192
198});
199
201
203
208});
209
211
213
218});
219
221 ADD_8,
222 SUB_8,
223 MUL_8,
224 DIV_8,
225 EQ_8,
226 LT_8,
227 LTE_8,
228 AND_8,
229 OR_8,
230 XOR_8,
231 SHL_8,
232 SHR_8,
233 SET_8,
234 SET_16,
235 SET_32,
236 SET_64,
237 SET_128,
238 SET_FF,
239 ADD_16,
240 SUB_16,
241 MUL_16,
242 DIV_16,
243 FDIV_16,
244 EQ_16,
245 LT_16,
246 LTE_16,
247 AND_16,
248 OR_16,
249 XOR_16,
250 NOT_16,
251 SHL_16,
252 SHR_16,
253 CAST_8,
254 CAST_16,
255 SSTORE,
256 SLOAD,
257 GETENVVAR,
263};
264
266
310});
311
314
319});
320
323
328});
329
332
336});
337
340
345});
346
349
353});
354
357
363});
364
367
374});
375
377
379
384});
385
392
394
400});
401
408
413});
414
425
427
438 });
439
442
447});
Set32MutationOptions
WeightedSelectionConfig< ResultAddressRefMutationOptions, 5 > ResultAddressRefMutationConfig
WeightedSelectionConfig< Set128MutationOptions, 4 > Set128MutationConfig
constexpr Set128MutationConfig BASIC_SET_128_MUTATION_CONFIGURATION
WeightedSelectionConfig< JumpIfMutationOptions, 3 > JumpIfMutationConfig
constexpr AddressRefMutationConfig BASIC_ADDRESS_REF_MUTATION_CONFIGURATION
Set64MutationOptions
VecMutationOptions
constexpr ReturnOptionsMutationConfig BASIC_RETURN_OPTIONS_MUTATION_CONFIGURATION
constexpr JumpIfMutationConfig BASIC_JUMP_IF_MUTATION_CONFIGURATION
constexpr SLoadMutationConfig BASIC_SLOAD_MUTATION_CONFIGURATION
constexpr GetEnvVarMutationConfig BASIC_GETENVVAR_MUTATION_CONFIGURATION
constexpr Set16MutationConfig BASIC_SET_16_MUTATION_CONFIGURATION
constexpr NoteHashExistsMutationConfig BASIC_NOTEHASHEXISTS_MUTATION_CONFIGURATION
NoteHashExistsMutationOptions
JumpIfToBlockMutationOptions
WeightedSelectionConfig< SetFFMutationOptions, 3 > SetFFMutationConfig
constexpr Set64MutationConfig BASIC_SET_64_MUTATION_CONFIGURATION
WeightedSelectionConfig< ReturnMutationOptions, 3 > ReturnMutationConfig
EmitNoteHashMutationOptions
WeightedSelectionConfig< NullifierExistsMutationOptions, 3 > NullifierExistsMutationConfig
SetFFMutationOptions
WeightedSelectionConfig< FieldMutationOptions, 5 > FieldMutationConfig
WeightedSelectionConfig< EmitNoteHashMutationOptions, 2 > EmitNoteHashMutationConfig
constexpr MemoryTagGenerationConfig BASIC_MEMORY_TAG_GENERATION_CONFIGURATION
WeightedSelectionConfig< Set64MutationOptions, 3 > Set64MutationConfig
constexpr uint8_t MAX_MUTATION_NUM
WeightedSelectionConfig< VecMutationOptions, 5 > VecMutationConfig
WeightedSelectionConfig< UintMutationOptions, 5 > Uint16MutationConfig
constexpr Uint64MutationConfig BASIC_UINT64_T_MUTATION_CONFIGURATION
WeightedSelectionConfig< UintMutationOptions, 5 > Uint64MutationConfig
Set8MutationOptions
Set16MutationOptions
constexpr FuzzerDataMutationConfig BASIC_FUZZER_DATA_MUTATION_CONFIGURATION
constexpr CalldataCopyMutationConfig BASIC_CALLDATACOPY_MUTATION_CONFIGURATION
WeightedSelectionConfig< GetEnvVarMutationOptions, 2 > GetEnvVarMutationConfig
CFGInstructionGenerationOptions
WeightedSelectionConfig< UintMutationOptions, 5 > Uint32MutationConfig
FuzzerDataMutationOptions
WeightedSelectionConfig< SStoreMutationOptions, 3 > SStoreMutationConfig
WeightedSelectionConfig< AddressRefMutationOptions, 5 > AddressRefMutationConfig
InstructionGenerationOptions
constexpr Uint32MutationConfig BASIC_UINT32_T_MUTATION_CONFIGURATION
constexpr UnaryInstruction8MutationConfig BASIC_UNARY_INSTRUCTION_8_MUTATION_CONFIGURATION
SStoreMutationOptions
constexpr SetFFMutationConfig BASIC_SET_FF_MUTATION_CONFIGURATION
constexpr Set32MutationConfig BASIC_SET_32_MUTATION_CONFIGURATION
WeightedSelectionConfig< NoteHashExistsMutationOptions, 4 > NoteHashExistsMutationConfig
constexpr FieldMutationConfig BASIC_FIELD_MUTATION_CONFIGURATION
UnaryInstruction8MutationOptions
constexpr BinaryInstruction8MutationConfig BASIC_BINARY_INSTRUCTION_8_MUTATION_CONFIGURATION
UintMutationOptions
constexpr Uint128MutationConfig BASIC_UINT128_T_MUTATION_CONFIGURATION
constexpr Uint16MutationConfig BASIC_UINT16_T_MUTATION_CONFIGURATION
constexpr SStoreMutationConfig BASIC_SSTORE_MUTATION_CONFIGURATION
CalldataCopyMutationOptions
JumpIfMutationOptions
@ else_program_block_instruction_block_idx
@ then_program_block_instruction_block_idx
constexpr NullifierExistsMutationConfig BASIC_NULLIFIER_EXISTS_MUTATION_CONFIGURATION
FieldMutationOptions
MemoryTagOptions
ResultAddressRefMutationOptions
WeightedSelectionConfig< Set32MutationOptions, 3 > Set32MutationConfig
WeightedSelectionConfig< JumpIfToBlockMutationOptions, 3 > JumpIfToBlockMutationConfig
Set128MutationOptions
WeightedSelectionConfig< SLoadMutationOptions, 3 > SLoadMutationConfig
constexpr EmitNoteHashMutationConfig BASIC_EMITNOTEHASH_MUTATION_CONFIGURATION
WeightedSelectionConfig< CFGInstructionGenerationOptions, 8 > CFGInstructionGenerationConfig
WeightedSelectionConfig< BinaryInstruction8MutationOptions, 3 > BinaryInstruction8MutationConfig
ReturnOptionsMutationOptions
ReturnMutationOptions
WeightedSelectionConfig< MemoryTagOptions, 7 > MemoryTagMutationConfig
constexpr MemoryTagMutationConfig BASIC_MEMORY_TAG_MUTATION_CONFIGURATION
WeightedSelectionConfig< UintMutationOptions, 5 > Uint8MutationConfig
SLoadMutationOptions
WeightedSelectionConfig< ReturnOptionsMutationOptions, 3 > ReturnOptionsMutationConfig
WeightedSelectionConfig< FuzzerDataMutationOptions, 4 > FuzzerDataMutationConfig
constexpr ResultAddressRefMutationConfig BASIC_RESULT_ADDRESS_REF_MUTATION_CONFIGURATION
constexpr Uint8MutationConfig BASIC_UINT8_T_MUTATION_CONFIGURATION
constexpr InstructionGenerationConfig BASIC_INSTRUCTION_GENERATION_CONFIGURATION
constexpr VecMutationConfig BASIC_VEC_MUTATION_CONFIGURATION
WeightedSelectionConfig< UnaryInstruction8MutationOptions, 2 > UnaryInstruction8MutationConfig
WeightedSelectionConfig< CalldataCopyMutationOptions, 5 > CalldataCopyMutationConfig
WeightedSelectionConfig< Set8MutationOptions, 3 > Set8MutationConfig
GetEnvVarMutationOptions
constexpr JumpIfToBlockMutationConfig BASIC_JUMP_IF_TO_BLOCK_MUTATION_CONFIGURATION
AddressRefMutationOptions
BinaryInstruction8MutationOptions
constexpr ReturnMutationConfig BASIC_RETURN_MUTATION_CONFIGURATION
constexpr CFGInstructionGenerationConfig BASIC_CFG_INSTRUCTION_GENERATION_CONFIGURATION
constexpr Set8MutationConfig BASIC_SET_8_MUTATION_CONFIGURATION
WeightedSelectionConfig< InstructionGenerationOptions, 42 > InstructionGenerationConfig
WeightedSelectionConfig< UintMutationOptions, 5 > Uint128MutationConfig
NullifierExistsMutationOptions
WeightedSelectionConfig< Set16MutationOptions, 3 > Set16MutationConfig
WeightedSelectionConfig< MemoryTagOptions, 7 > MemoryTagGenerationConfig
Add a random value.
Definition field.cpp:50