Wire Sysio Wire Sysion 1.0.0
|
#include <execution_context.hpp>
Public Member Functions | |
Derived & | derived () |
execution_context_base (module &m) | |
int32_t | grow_linear_memory (int32_t pages) |
int32_t | current_linear_memory () const |
void | exit (std::error_code err=std::error_code()) |
module & | get_module () |
void | set_wasm_allocator (wasm_allocator *alloc) |
auto | get_wasm_allocator () |
char * | linear_memory () |
auto & | get_operand_stack () |
const auto & | get_operand_stack () const |
auto | get_interface () |
void | set_max_pages (std::uint32_t max_pages) |
std::error_code | get_error_code () const |
void | reset () |
template<typename Visitor , typename... Args> | |
std::optional< operand_stack_elem > | execute (host_type *host, Visitor &&visitor, const std::string_view func, Args... args) |
template<typename Visitor , typename... Args> | |
void | execute_start (host_type *host, Visitor &&visitor) |
Derived & | derived () |
execution_context_base (module &m) | |
int32_t | grow_linear_memory (int32_t pages) |
int32_t | current_linear_memory () const |
void | exit (std::error_code err=std::error_code()) |
module & | get_module () |
void | set_wasm_allocator (wasm_allocator *alloc) |
auto | get_wasm_allocator () |
char * | linear_memory () |
auto & | get_operand_stack () |
const auto & | get_operand_stack () const |
auto | get_interface () |
void | set_max_pages (std::uint32_t max_pages) |
std::error_code | get_error_code () const |
void | reset () |
template<typename Visitor , typename... Args> | |
std::optional< operand_stack_elem > | execute (host_type *host, Visitor &&visitor, const std::string_view func, Args... args) |
template<typename Visitor , typename... Args> | |
void | execute_start (host_type *host, Visitor &&visitor) |
Static Protected Member Functions | |
template<typename... Args> | |
static void | type_check_args (const func_type &ft, Args &&...) |
static void | handle_signal (int sig) |
template<typename... Args> | |
static void | type_check_args (const func_type &ft, Args &&...) |
static void | handle_signal (int sig) |
Protected Attributes | |
char * | _linear_memory = nullptr |
module & | _mod |
wasm_allocator * | _wasm_alloc |
uint32_t | _max_pages = max_pages |
detail::host_invoker_t< Host > | _rhf |
std::error_code | _error_code |
operand_stack | _os |
Definition at line 84 of file execution_context.hpp.
|
inline |
Definition at line 88 of file execution_context.hpp.
|
inline |
Definition at line 88 of file execution_context.hpp.
|
inline |
Definition at line 105 of file execution_context.hpp.
|
inline |
|
inline |
Definition at line 87 of file execution_context.hpp.
|
inline |
Definition at line 87 of file execution_context.hpp.
|
inline |
Definition at line 151 of file execution_context.hpp.
|
inline |
Definition at line 151 of file execution_context.hpp.
|
inline |
Definition at line 158 of file execution_context.hpp.
|
inline |
|
inline |
Definition at line 106 of file execution_context.hpp.
|
inline |
Definition at line 106 of file execution_context.hpp.
|
inline |
Definition at line 121 of file execution_context.hpp.
|
inline |
Definition at line 121 of file execution_context.hpp.
|
inline |
Definition at line 118 of file execution_context.hpp.
|
inline |
Definition at line 118 of file execution_context.hpp.
|
inline |
Definition at line 112 of file execution_context.hpp.
|
inline |
Definition at line 112 of file execution_context.hpp.
|
inline |
Definition at line 116 of file execution_context.hpp.
|
inline |
Definition at line 116 of file execution_context.hpp.
|
inline |
Definition at line 117 of file execution_context.hpp.
|
inline |
Definition at line 117 of file execution_context.hpp.
|
inline |
Definition at line 114 of file execution_context.hpp.
|
inline |
Definition at line 114 of file execution_context.hpp.
|
inline |
Definition at line 90 of file execution_context.hpp.
|
inline |
Definition at line 90 of file execution_context.hpp.
|
inlinestaticprotected |
Definition at line 172 of file execution_context.hpp.
|
inlinestaticprotected |
Definition at line 172 of file execution_context.hpp.
|
inline |
Definition at line 115 of file execution_context.hpp.
|
inline |
Definition at line 115 of file execution_context.hpp.
|
inline |
Definition at line 123 of file execution_context.hpp.
|
inline |
Definition at line 123 of file execution_context.hpp.
|
inline |
Definition at line 119 of file execution_context.hpp.
|
inline |
Definition at line 119 of file execution_context.hpp.
|
inline |
Definition at line 113 of file execution_context.hpp.
|
inline |
Definition at line 113 of file execution_context.hpp.
|
inlinestaticprotected |
Definition at line 166 of file execution_context.hpp.
|
inlinestaticprotected |
Definition at line 166 of file execution_context.hpp.
|
protected |
Definition at line 190 of file execution_context.hpp.
|
protected |
Definition at line 185 of file execution_context.hpp.
|
protected |
Definition at line 188 of file execution_context.hpp.
|
protected |
Definition at line 186 of file execution_context.hpp.
|
protected |
Definition at line 191 of file execution_context.hpp.
|
protected |
Definition at line 189 of file execution_context.hpp.
|
protected |
Definition at line 187 of file execution_context.hpp.