Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::vm::null_execution_context< Host > Class Template Reference

#include <execution_context.hpp>

Inheritance diagram for sysio::vm::null_execution_context< Host >:
Collaboration diagram for sysio::vm::null_execution_context< Host >:

Public Member Functions

 null_execution_context (module &m, std::uint32_t max_call_depth)
 
 null_execution_context (module &m, std::uint32_t max_call_depth)
 
- Public Member Functions inherited from sysio::vm::execution_context_base< null_execution_context< Host >, Host >
null_execution_context< Host > & derived ()
 
null_execution_context< Host > & derived ()
 
 execution_context_base (module &m)
 
 execution_context_base (module &m)
 
int32_t grow_linear_memory (int32_t pages)
 
int32_t grow_linear_memory (int32_t pages)
 
int32_t current_linear_memory () const
 
int32_t current_linear_memory () const
 
void exit (std::error_code err=std::error_code())
 
void exit (std::error_code err=std::error_code())
 
moduleget_module ()
 
moduleget_module ()
 
void set_wasm_allocator (wasm_allocator *alloc)
 
void set_wasm_allocator (wasm_allocator *alloc)
 
auto get_wasm_allocator ()
 
auto get_wasm_allocator ()
 
char * linear_memory ()
 
char * linear_memory ()
 
auto & get_operand_stack ()
 
const auto & get_operand_stack () const
 
auto & get_operand_stack ()
 
const auto & get_operand_stack () const
 
auto get_interface ()
 
auto get_interface ()
 
void set_max_pages (std::uint32_t max_pages)
 
void set_max_pages (std::uint32_t max_pages)
 
std::error_code get_error_code () const
 
std::error_code get_error_code () const
 
void reset ()
 
void reset ()
 
std::optional< operand_stack_elemexecute (host_type *host, Visitor &&visitor, const std::string_view func, Args... args)
 
std::optional< operand_stack_elemexecute (host_type *host, Visitor &&visitor, const std::string_view func, Args... args)
 
void execute_start (host_type *host, Visitor &&visitor)
 
void execute_start (host_type *host, Visitor &&visitor)
 

Additional Inherited Members

- Static Protected Member Functions inherited from sysio::vm::execution_context_base< null_execution_context< Host >, Host >
static void type_check_args (const func_type &ft, Args &&...)
 
static void type_check_args (const func_type &ft, Args &&...)
 
static void handle_signal (int sig)
 
static void handle_signal (int sig)
 
- Protected Attributes inherited from sysio::vm::execution_context_base< null_execution_context< Host >, Host >
char * _linear_memory
 
module_mod
 
wasm_allocator_wasm_alloc
 
uint32_t _max_pages
 
detail::host_invoker_t< Host > _rhf
 
std::error_code _error_code
 
operand_stack _os
 

Detailed Description

template<typename Host>
class sysio::vm::null_execution_context< Host >

Definition at line 197 of file execution_context.hpp.

Constructor & Destructor Documentation

◆ null_execution_context() [1/2]

template<typename Host >
sysio::vm::null_execution_context< Host >::null_execution_context ( module & m,
std::uint32_t max_call_depth )
inline

Definition at line 200 of file execution_context.hpp.

200: base_type(m) {}

◆ null_execution_context() [2/2]

template<typename Host >
sysio::vm::null_execution_context< Host >::null_execution_context ( module & m,
std::uint32_t max_call_depth )
inline

Definition at line 200 of file execution_context.hpp.

200: base_type(m) {}

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