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

#include <instruction.hpp>

Public Member Functions

 MSGPACK_FIELDS (tag, index, pointer_address_seed, base_offset_seed, mode)
 

Public Attributes

MemoryTagWrapper tag
 
uint32_t index = 0
 Index of the variable in the memory_manager.stored_variables map.
 
uint16_t pointer_address_seed = 0
 A seed for the generation of the pointer address Used for Indirect/IndirectRelative modes only.
 
uint32_t base_offset_seed = 0
 A seed for the generation of the base offset Used for Relative/IndirectRelative modes only Sets M[0] = base_offset.
 
AddressingModeWrapper mode = AddressingMode::Direct
 

Detailed Description

Member Function Documentation

◆ MSGPACK_FIELDS()

VariableRef::MSGPACK_FIELDS ( tag  ,
index  ,
pointer_address_seed  ,
base_offset_seed  ,
mode   
)

Member Data Documentation

◆ base_offset_seed

uint32_t VariableRef::base_offset_seed = 0

A seed for the generation of the base offset Used for Relative/IndirectRelative modes only Sets M[0] = base_offset.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 111 of file instruction.hpp.

◆ index

uint32_t VariableRef::index = 0

Index of the variable in the memory_manager.stored_variables map.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 102 of file instruction.hpp.

◆ mode

◆ pointer_address_seed

uint16_t VariableRef::pointer_address_seed = 0

A seed for the generation of the pointer address Used for Indirect/IndirectRelative modes only.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 106 of file instruction.hpp.

◆ tag


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