Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
addressing.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
barretenberg/vm2/common/memory_types.hpp
"
6
#include "
barretenberg/vm2/simulation/lib/serialization.hpp
"
7
8
namespace
bb::avm2::simulation
{
9
10
// Forward declarations
11
class
MemoryInterface;
12
13
class
AddressingInterface
{
14
public
:
15
virtual
~AddressingInterface
() =
default
;
16
// @throws AddressingException.
17
virtual
std::vector<Operand>
resolve
(
const
Instruction
&
instruction
,
MemoryInterface
&
memory
) = 0;
18
};
19
20
}
// namespace bb::avm2::simulation
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::AddressingInterface
Definition
addressing.hpp:13
bb::avm2::simulation::AddressingInterface::~AddressingInterface
virtual ~AddressingInterface()=default
bb::avm2::simulation::AddressingInterface::resolve
virtual std::vector< Operand > resolve(const Instruction &instruction, MemoryInterface &memory)=0
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
instruction
Instruction instruction
Definition
gas_tracker.test.cpp:33
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
serialization.hpp
bb::avm2::simulation::Instruction
Definition
serialization.hpp:30
src
barretenberg
vm2
simulation
interfaces
addressing.hpp
Generated by
1.9.8