|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
This class implements the execution of safeuint with an oracle to detect discrepancies. More...
#include <byte_array.fuzzer.hpp>
Public Member Functions | |
| std::optional< field_t > | to_field_t (std::optional< size_t > max_msb=std::nullopt) const |
| ExecutionHandler ()=default | |
| ExecutionHandler (std::vector< uint8_t > &r, byte_array_t &s) | |
| ExecutionHandler (std::vector< uint8_t > r, byte_array_t s) | |
| ExecutionHandler (byte_array_t s) | |
| ExecutionHandler | reverse () const |
| ExecutionHandler | slice (const size_t offset, const size_t length) const |
| ExecutionHandler | operator+ (const ExecutionHandler &other) |
| ExecutionHandler | set (Builder *builder) |
Static Public Member Functions | |
| static std::vector< uint8_t > | get_value (const byte_array_t &byte_array) |
| static const std::vector< uint8_t > & | bool_to_vector (const bool &b) |
| static size_t | execute_CONSTANT (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the constant instruction (push constant safeuint to the stack) | |
| static size_t | execute_REVERSE (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the REVERSE instruction. | |
| static size_t | execute_SLICE (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the slice instruction. | |
| static size_t | execute_ADD (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the ADD (append) instruction. | |
| static size_t | execute_SET (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the SET instruction. | |
| static size_t | execute_RANDOMSEED (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the RANDOMSEED instruction. | |
Public Attributes | |
| std::vector< uint8_t > | reference_value |
| byte_array_t | byte_array { nullptr, std::vector<uint8_t>{} } |
This class implements the execution of safeuint with an oracle to detect discrepancies.
Definition at line 342 of file byte_array.fuzzer.hpp.
|
default |
|
inline |
Definition at line 380 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 384 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 388 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Definition at line 349 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the ADD (append) instruction.
| builder | |
| stack | |
| instruction |
Definition at line 639 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the constant instruction (push constant safeuint to the stack)
| builder | |
| stack | |
| instruction |
Definition at line 526 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the RANDOMSEED instruction.
| builder | |
| stack | |
| instruction |
Definition at line 713 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the REVERSE instruction.
| builder | |
| stack | |
| instruction |
Definition at line 562 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the SET instruction.
| builder | |
| stack | |
| instruction |
Definition at line 678 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the slice instruction.
| builder | |
| stack | |
| instruction |
Definition at line 596 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Definition at line 348 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 431 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 393 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 447 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 400 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 355 of file byte_array.fuzzer.hpp.
| byte_array_t ByteArrayFuzzBase< Builder >::ExecutionHandler::byte_array { nullptr, std::vector<uint8_t>{} } |
Definition at line 346 of file byte_array.fuzzer.hpp.
| std::vector<uint8_t> ByteArrayFuzzBase< Builder >::ExecutionHandler::reference_value |
Definition at line 344 of file byte_array.fuzzer.hpp.