|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
A class representing a single fuzzing instruction. More...
#include <byte_array.fuzzer.hpp>
Classes | |
| union | ArgumentContents |
| struct | Element |
| struct | GetBitArgs |
| struct | SetBitArgs |
| struct | SliceArgs |
| struct | ThreeArgs |
| struct | TwoArgs |
Public Types | |
| enum | OPCODE { CONSTANT , REVERSE , SLICE , ADD , SET , RANDOMSEED , _LAST } |
Static Public Member Functions | |
| template<typename T > requires SimpleRng<T> | |
| static Instruction | generateRandom (T &rng) |
| Generate a random instruction. | |
| template<typename T > requires SimpleRng<T> | |
| static Instruction | mutateInstruction (Instruction instruction, T &rng, HavocSettings &havoc_config) |
| Mutate a single instruction. | |
Public Attributes | |
| OPCODE | id |
| ArgumentContents | arguments |
A class representing a single fuzzing instruction.
Definition at line 71 of file byte_array.fuzzer.hpp.
| enum ByteArrayFuzzBase::Instruction::OPCODE |
| Enumerator | |
|---|---|
| CONSTANT | |
| REVERSE | |
| SLICE | |
| ADD | |
| SET | |
| RANDOMSEED | |
| _LAST | |
Definition at line 73 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Generate a random instruction.
| T | PRNG class type |
| rng | PRNG used |
Definition at line 133 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Mutate a single instruction.
| T | PRNG class |
| instruction | The instruction |
| rng | PRNG |
| havoc_config | Mutation configuration |
Definition at line 193 of file byte_array.fuzzer.hpp.
| ArgumentContents ByteArrayFuzzBase< Builder >::Instruction::arguments |
Definition at line 124 of file byte_array.fuzzer.hpp.
| OPCODE ByteArrayFuzzBase< Builder >::Instruction::id |
Definition at line 122 of file byte_array.fuzzer.hpp.