Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::VMSettings Struct Reference

Settings structure to control which operations are enabled in the VM. More...

#include <field.fuzzer.hpp>

Public Attributes

bool enable_set_value: 1
 Enable SET_VALUE operations.
 
bool enable_add: 1
 Enable ADD operations.
 
bool enable_add_assign: 1
 Enable ADD_ASSIGN operations.
 
bool enable_increment: 1
 Enable INCREMENT operations.
 
bool enable_mul: 1
 Enable MUL operations.
 
bool enable_mul_assign: 1
 Enable MUL_ASSIGN operations.
 
bool enable_sub: 1
 Enable SUB operations.
 
bool enable_sub_assign: 1
 Enable SUB_ASSIGN operations.
 
bool enable_div: 1
 Enable DIV operations.
 
bool enable_div_assign: 1
 Enable DIV_ASSIGN operations.
 
bool enable_inv: 1
 Enable INV operations.
 
bool enable_neg: 1
 Enable NEG operations.
 
bool enable_sqr: 1
 Enable SQR operations.
 
bool enable_sqr_assign: 1
 Enable SQR_ASSIGN operations.
 
bool enable_pow: 1
 Enable POW operations.
 
bool enable_sqrt: 1
 Enable SQRT operations.
 
bool enable_is_zero: 1
 Enable IS_ZERO operations.
 
bool enable_equal: 1
 Enable EQUAL operations.
 
bool enable_not_equal: 1
 Enable NOT_EQUAL operations.
 
bool enable_to_montgomery: 1
 Enable TO_MONTGOMERY operations.
 
bool enable_from_montgomery: 1
 Enable FROM_MONTGOMERY operations.
 
bool enable_reduce_once: 1
 Enable REDUCE_ONCE operations.
 
bool enable_self_reduce: 1
 Enable SELF_REDUCE operations.
 
bool enable_batch_invert: 1
 Enable BATCH_INVERT operations.
 
uint8_t reserved: 8
 Reserved for future use.
 

Detailed Description

Settings structure to control which operations are enabled in the VM.

This structure uses bit fields to efficiently control which field operations are enabled during fuzzing. Each bit corresponds to a specific operation type.

Definition at line 38 of file field.fuzzer.hpp.

Member Data Documentation

◆ enable_add

bool bb::VMSettings::enable_add

Enable ADD operations.

Definition at line 40 of file field.fuzzer.hpp.

◆ enable_add_assign

bool bb::VMSettings::enable_add_assign

Enable ADD_ASSIGN operations.

Definition at line 41 of file field.fuzzer.hpp.

◆ enable_batch_invert

bool bb::VMSettings::enable_batch_invert

Enable BATCH_INVERT operations.

Definition at line 62 of file field.fuzzer.hpp.

◆ enable_div

bool bb::VMSettings::enable_div

Enable DIV operations.

Definition at line 47 of file field.fuzzer.hpp.

◆ enable_div_assign

bool bb::VMSettings::enable_div_assign

Enable DIV_ASSIGN operations.

Definition at line 48 of file field.fuzzer.hpp.

◆ enable_equal

bool bb::VMSettings::enable_equal

Enable EQUAL operations.

Definition at line 56 of file field.fuzzer.hpp.

◆ enable_from_montgomery

bool bb::VMSettings::enable_from_montgomery

Enable FROM_MONTGOMERY operations.

Definition at line 59 of file field.fuzzer.hpp.

◆ enable_increment

bool bb::VMSettings::enable_increment

Enable INCREMENT operations.

Definition at line 42 of file field.fuzzer.hpp.

◆ enable_inv

bool bb::VMSettings::enable_inv

Enable INV operations.

Definition at line 49 of file field.fuzzer.hpp.

◆ enable_is_zero

bool bb::VMSettings::enable_is_zero

Enable IS_ZERO operations.

Definition at line 55 of file field.fuzzer.hpp.

◆ enable_mul

bool bb::VMSettings::enable_mul

Enable MUL operations.

Definition at line 43 of file field.fuzzer.hpp.

◆ enable_mul_assign

bool bb::VMSettings::enable_mul_assign

Enable MUL_ASSIGN operations.

Definition at line 44 of file field.fuzzer.hpp.

◆ enable_neg

bool bb::VMSettings::enable_neg

Enable NEG operations.

Definition at line 50 of file field.fuzzer.hpp.

◆ enable_not_equal

bool bb::VMSettings::enable_not_equal

Enable NOT_EQUAL operations.

Definition at line 57 of file field.fuzzer.hpp.

◆ enable_pow

bool bb::VMSettings::enable_pow

Enable POW operations.

Definition at line 53 of file field.fuzzer.hpp.

◆ enable_reduce_once

bool bb::VMSettings::enable_reduce_once

Enable REDUCE_ONCE operations.

Definition at line 60 of file field.fuzzer.hpp.

◆ enable_self_reduce

bool bb::VMSettings::enable_self_reduce

Enable SELF_REDUCE operations.

Definition at line 61 of file field.fuzzer.hpp.

◆ enable_set_value

bool bb::VMSettings::enable_set_value

Enable SET_VALUE operations.

Definition at line 39 of file field.fuzzer.hpp.

◆ enable_sqr

bool bb::VMSettings::enable_sqr

Enable SQR operations.

Definition at line 51 of file field.fuzzer.hpp.

◆ enable_sqr_assign

bool bb::VMSettings::enable_sqr_assign

Enable SQR_ASSIGN operations.

Definition at line 52 of file field.fuzzer.hpp.

◆ enable_sqrt

bool bb::VMSettings::enable_sqrt

Enable SQRT operations.

Definition at line 54 of file field.fuzzer.hpp.

◆ enable_sub

bool bb::VMSettings::enable_sub

Enable SUB operations.

Definition at line 45 of file field.fuzzer.hpp.

◆ enable_sub_assign

bool bb::VMSettings::enable_sub_assign

Enable SUB_ASSIGN operations.

Definition at line 46 of file field.fuzzer.hpp.

◆ enable_to_montgomery

bool bb::VMSettings::enable_to_montgomery

Enable TO_MONTGOMERY operations.

Definition at line 58 of file field.fuzzer.hpp.

◆ reserved

uint8_t bb::VMSettings::reserved

Reserved for future use.

Definition at line 63 of file field.fuzzer.hpp.


The documentation for this struct was generated from the following file: