|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
A class representing a single fuzzing instruction. More...
#include <bool.fuzzer.hpp>
Classes | |
| union | ArgumentContents |
| struct | FourArgs |
| struct | ThreeArgs |
| struct | TwoArgs |
Public Types | |
| enum | OPCODE { CONSTANT , WITNESS , AND , OR , XOR , NOT , ASSERT_EQUAL , SELECT_IF_EQ , 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 43 of file bool.fuzzer.hpp.
| enum BoolFuzzBase::Instruction::OPCODE |
| Enumerator | |
|---|---|
| CONSTANT | |
| WITNESS | |
| AND | |
| OR | |
| XOR | |
| NOT | |
| ASSERT_EQUAL | |
| SELECT_IF_EQ | |
| SET | |
| RANDOMSEED | |
| _LAST | |
Definition at line 45 of file bool.fuzzer.hpp.
|
inlinestatic |
Generate a random instruction.
| T | PRNG class type |
| rng | PRNG used |
Definition at line 81 of file bool.fuzzer.hpp.
|
inlinestatic |
Mutate a single instruction.
| T | PRNG class |
| instruction | The instruction |
| rng | PRNG |
| havoc_config | Mutation configuration |
Definition at line 139 of file bool.fuzzer.hpp.
| ArgumentContents BoolFuzzBase< Builder >::Instruction::arguments |
Definition at line 72 of file bool.fuzzer.hpp.
| OPCODE BoolFuzzBase< Builder >::Instruction::id |
Definition at line 70 of file bool.fuzzer.hpp.