Barretenberg
The ZK-SNARK library at the core of Aztec
|
Parser class handles the parsing and writing the instructions back to data buffer. More...
#include <safe_uint.fuzzer.hpp>
Static Public Member Functions | |
template<typename Instruction::OPCODE opcode> | |
static Instruction | parseInstructionArgs (uint8_t *Data) |
Parse a single instruction from data. | |
template<typename Instruction::OPCODE instruction_opcode> | |
static void | writeInstruction (Instruction &instruction, uint8_t *Data) |
Write a single instruction to buffer. | |
Parser class handles the parsing and writing the instructions back to data buffer.
Definition at line 478 of file safe_uint.fuzzer.hpp.
|
inlinestatic |
Parse a single instruction from data.
opcode | The opcode we are parsing |
Data | Pointer to arguments in buffer |
Definition at line 487 of file safe_uint.fuzzer.hpp.
|
inlinestatic |
Write a single instruction to buffer.
instruction_opcode | Instruction type |
instruction | instruction |
Data | Pointer to the data buffer (needs to have enough space for the instruction) |
Definition at line 538 of file safe_uint.fuzzer.hpp.