|
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 345 of file byte_array.fuzzer.hpp.
|
default |
|
inline |
Definition at line 394 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 398 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 402 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Definition at line 363 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the ADD (append) instruction.
| builder | |
| stack | |
| instruction |
Definition at line 686 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the constant instruction (push constant safeuint to the stack)
| builder | |
| stack | |
| instruction |
Definition at line 573 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the RANDOMSEED instruction.
| builder | |
| stack | |
| instruction |
Definition at line 760 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the REVERSE instruction.
| builder | |
| stack | |
| instruction |
Definition at line 609 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the SET instruction.
| builder | |
| stack | |
| instruction |
Definition at line 725 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Execute the slice instruction.
| builder | |
| stack | |
| instruction |
Definition at line 643 of file byte_array.fuzzer.hpp.
|
inlinestatic |
Definition at line 351 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 445 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 407 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 461 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 414 of file byte_array.fuzzer.hpp.
|
inline |
Definition at line 369 of file byte_array.fuzzer.hpp.
| byte_array_t ByteArrayFuzzBase< Builder >::ExecutionHandler::byte_array { nullptr, std::vector<uint8_t>{} } |
Definition at line 349 of file byte_array.fuzzer.hpp.
| std::vector<uint8_t> ByteArrayFuzzBase< Builder >::ExecutionHandler::reference_value |
Definition at line 347 of file byte_array.fuzzer.hpp.