Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::MockBytecodeManager Class Reference

#include <mock_bytecode_manager.hpp>

Inheritance diagram for bb::avm2::simulation::MockBytecodeManager:
bb::avm2::simulation::BytecodeManagerInterface

Public Member Functions

 MockBytecodeManager ()
 
 ~MockBytecodeManager () override
 
 MOCK_METHOD (Instruction, read_instruction,(uint32_t pc),(override))
 
 MOCK_METHOD (BytecodeId, get_bytecode_id,(),(override))
 
 MOCK_METHOD (std::optional< BytecodeId >, try_get_bytecode_id,(),(override))
 
- Public Member Functions inherited from bb::avm2::simulation::BytecodeManagerInterface
virtual ~BytecodeManagerInterface ()=default
 
virtual Instruction read_instruction (uint32_t pc)=0
 
virtual BytecodeId get_bytecode_id ()=0
 
virtual std::optional< BytecodeIdtry_get_bytecode_id ()=0
 

Detailed Description

Definition at line 14 of file mock_bytecode_manager.hpp.

Constructor & Destructor Documentation

◆ MockBytecodeManager()

bb::avm2::simulation::MockBytecodeManager::MockBytecodeManager ( )
default

◆ ~MockBytecodeManager()

bb::avm2::simulation::MockBytecodeManager::~MockBytecodeManager ( )
overridedefault

Member Function Documentation

◆ MOCK_METHOD() [1/3]

bb::avm2::simulation::MockBytecodeManager::MOCK_METHOD ( BytecodeId  ,
get_bytecode_id  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/3]

bb::avm2::simulation::MockBytecodeManager::MOCK_METHOD ( Instruction  ,
read_instruction  ,
(uint32_t pc)  ,
(override)   
)

◆ MOCK_METHOD() [3/3]

bb::avm2::simulation::MockBytecodeManager::MOCK_METHOD ( std::optional< BytecodeId ,
try_get_bytecode_id  ,
()  ,
(override)   
)

The documentation for this class was generated from the following files: