|
barretenberg
|
A class representing a single fuzzing instruction. More...
#include <safe_uint.fuzzer.hpp>
Classes | |
| union | ArgumentContents |
| struct | Element |
| struct | FiveArgs |
| struct | FourArgs |
| struct | SliceArgs |
| struct | ThreeArgs |
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 fr | mutateFieldElement (fr e, T &rng, HavocSettings &havoc_config) |
| Mutate the value of a field element. | |
| 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.
|
inlinestatic |
Generate a random instruction.
| T | PRNG class type |
| rng | PRNG used |
|
inlinestatic |
Mutate the value of a field element.
| T | PRNG class |
| e | Initial element value |
| rng | PRNG |
| havoc_config | Mutation configuration |
|
inlinestatic |
Mutate a single instruction.
| T | PRNG class |
| instruction | The instruction |
| rng | PRNG |
| havoc_config | Mutation configuration |