Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sys-vm.cpp File Reference
#include <sysio/chain/webassembly/sys-vm.hpp>
#include <sysio/chain/webassembly/interface.hpp>
#include <sysio/chain/apply_context.hpp>
#include <sysio/chain/transaction_context.hpp>
#include <sysio/chain/global_property_object.hpp>
#include <sysio/chain/wasm_sysio_constraints.hpp>
#include <sysio/vm/backend.hpp>
#include <sysio/chain/webassembly/preconditions.hpp>
#include <boost/hana/string.hpp>
#include <boost/hana/equal.hpp>
Include dependency graph for sys-vm.cpp:

Go to the source code of this file.

Classes

struct  sysio::chain::webassembly::eos_vm_runtime::setcode_options
 
struct  sysio::chain::webassembly::eos_vm_runtime::apply_options
 
class  sysio::chain::webassembly::eos_vm_runtime::eos_vm_instantiated_module< Impl >
 
struct  sysio::chain::webassembly::host_function_registrator< HostFunction, Preconditions >
 

Namespaces

namespace  sysio
 
namespace  sysio::chain
 
namespace  sysio::chain::webassembly
 
namespace  sysio::chain::webassembly::eos_vm_runtime
 

Macros

#define REGISTER_INJECTED_HOST_FUNCTION(NAME, ...)
 
#define REGISTER_HOST_FUNCTION(NAME, ...)
 
#define REGISTER_CF_HOST_FUNCTION(NAME, ...)
 
#define REGISTER_LEGACY_HOST_FUNCTION(NAME, ...)
 
#define REGISTER_LEGACY_CF_HOST_FUNCTION(NAME, ...)
 
#define REGISTER_LEGACY_CF_ONLY_HOST_FUNCTION(NAME, ...)
 

Functions

void sysio::chain::webassembly::eos_vm_runtime::validate (const bytes &code, const whitelisted_intrinsics_type &intrinsics)
 
void sysio::chain::webassembly::eos_vm_runtime::validate (const bytes &code, const wasm_config &cfg, const whitelisted_intrinsics_type &intrinsics)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (is_feature_active, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (activate_feature, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (preactivate_feature, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (set_resource_limits, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (get_resource_limits, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (set_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_wasm_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (set_wasm_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (set_proposed_producers, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (set_proposed_producers_ex, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (get_blockchain_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (set_blockchain_parameters_packed, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (is_privileged, privileged_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (set_privileged, privileged_check)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_add)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_sub)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_div)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_mul)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_min)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_max)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_copysign)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_abs)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_neg)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_sqrt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ceil)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_floor)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_nearest)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_eq)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ne)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_lt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_le)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_gt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_ge)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_add)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_sub)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_div)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_mul)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_min)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_max)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_copysign)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_abs)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_neg)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_sqrt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ceil)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_floor)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_nearest)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_eq)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ne)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_lt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_le)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_gt)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_ge)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_promote)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_demote)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i32s)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i32s)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i32u)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i32u)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i64s)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i64s)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f32_trunc_i64u)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_f64_trunc_i64u)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_i32_to_f32)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_i64_to_f32)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui32_to_f32)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui64_to_f32)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_i32_to_f64)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_i64_to_f64)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui32_to_f64)
 
 sysio::chain::webassembly::REGISTER_INJECTED_HOST_FUNCTION (_sysio_ui64_to_f64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (get_active_producers)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (assert_recover_key)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (recover_key)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha256)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha1)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (assert_sha512)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (assert_ripemd160)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (sha256)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (sha1)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (sha512)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (ripemd160)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (check_transaction_authorization)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (check_permission_authorization)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_permission_last_used)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_account_creation_time)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (require_auth)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (require_auth2)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (has_auth)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (require_recipient)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (is_account)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_code_hash)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (current_time)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (publication_time)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (is_feature_activated)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (get_sender)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (read_action_data)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (action_data_size)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (current_receiver)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (set_action_return_value)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (prints)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (prints_l)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (printi)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (printui)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (printi128)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (printui128)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (printsf)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (printdf)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (printqf)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (printn)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (printhex)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_store_i64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_update_i64)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_remove_i64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_get_i64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_next_i64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_previous_i64)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_find_i64)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_lowerbound_i64)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_upperbound_i64)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_end_i64)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_store)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_update)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx64_remove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_find_secondary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_find_primary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_lowerbound)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_upperbound)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx64_end)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_next)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx64_previous)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_store)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_update)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx128_remove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_find_secondary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_find_primary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_lowerbound)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_upperbound)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx128_end)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_next)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx128_previous)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_store)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_update)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx256_remove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_find_secondary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_find_primary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_lowerbound)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_upperbound)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx256_end)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_next)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx256_previous)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_store, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_update, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx_double_remove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_find_secondary, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_find_primary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_lowerbound, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_upperbound, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx_double_end)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_next)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_double_previous)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_store, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_update, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx_long_double_remove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_find_secondary, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_find_primary)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_lowerbound, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_upperbound, is_nan_check)
 
 sysio::chain::webassembly::REGISTER_HOST_FUNCTION (db_idx_long_double_end)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_next)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (db_idx_long_double_previous)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (memcpy)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (memmove)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (memcmp)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (memset)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (send_inline)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (send_context_free_inline)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (send_deferred)
 
 sysio::chain::webassembly::REGISTER_LEGACY_HOST_FUNCTION (cancel_deferred)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (read_transaction)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (transaction_size)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (expiration)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (tapos_block_num)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (tapos_block_prefix)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (get_action)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__ashlti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__ashrti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__lshlti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__lshrti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__divti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__udivti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__multi3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__modti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__umodti3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__addtf3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__subtf3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__multf3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__divtf3)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__negtf2)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__extendsftf2)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__extenddftf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__trunctfdf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__trunctfsf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__fixtfsi)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__fixtfdi)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixtfti)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__fixunstfsi)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__fixunstfdi)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunstfti)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixsfti)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixdfti)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunssfti)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__fixunsdfti)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__floatsidf)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__floatsitf)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__floatditf)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__floatunsitf)
 
 sysio::chain::webassembly::REGISTER_LEGACY_CF_HOST_FUNCTION (__floatunditf)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__floattidf)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__floatuntidf)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__cmptf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__eqtf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__netf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__getf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__gttf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__letf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__lttf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (__unordtf2)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (get_block_num)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (alt_bn128_add)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (alt_bn128_mul)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (alt_bn128_pair)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (mod_exp)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (blake2_f)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (sha3)
 
 sysio::chain::webassembly::REGISTER_CF_HOST_FUNCTION (k1_recover)
 

Macro Definition Documentation

◆ REGISTER_CF_HOST_FUNCTION

#define REGISTER_CF_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, core_precondition, ##__VA_ARGS__> NAME##_registrator_impl() { \
return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();
#define NAME(s)

Definition at line 314 of file sys-vm.cpp.

314#define REGISTER_CF_HOST_FUNCTION(NAME, ...) \
315 static host_function_registrator<&interface::NAME, core_precondition, ##__VA_ARGS__> NAME##_registrator_impl() { \
316 return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
317 } \
318 inline static auto NAME##_registrator = NAME##_registrator_impl();

◆ REGISTER_HOST_FUNCTION

#define REGISTER_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, core_precondition, context_aware_check, ##__VA_ARGS__> \
NAME##_registrator_impl() { \
return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();

Definition at line 307 of file sys-vm.cpp.

307#define REGISTER_HOST_FUNCTION(NAME, ...) \
308 static host_function_registrator<&interface::NAME, core_precondition, context_aware_check, ##__VA_ARGS__> \
309 NAME##_registrator_impl() { \
310 return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
311 } \
312 inline static auto NAME##_registrator = NAME##_registrator_impl();

◆ REGISTER_INJECTED_HOST_FUNCTION

#define REGISTER_INJECTED_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, ##__VA_ARGS__> NAME##_registrator_impl() { \
return {BOOST_HANA_STRING(SYSIO_INJECTED_MODULE_NAME), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();
#define SYSIO_INJECTED_MODULE_NAME
Definition common.hpp:16

Definition at line 301 of file sys-vm.cpp.

301#define REGISTER_INJECTED_HOST_FUNCTION(NAME, ...) \
302 static host_function_registrator<&interface::NAME, ##__VA_ARGS__> NAME##_registrator_impl() { \
303 return {BOOST_HANA_STRING(SYSIO_INJECTED_MODULE_NAME), BOOST_HANA_STRING(#NAME)}; \
304 } \
305 inline static auto NAME##_registrator = NAME##_registrator_impl();

◆ REGISTER_LEGACY_CF_HOST_FUNCTION

#define REGISTER_LEGACY_CF_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, ##__VA_ARGS__> \
NAME##_registrator_impl() { \
return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();

Definition at line 327 of file sys-vm.cpp.

327#define REGISTER_LEGACY_CF_HOST_FUNCTION(NAME, ...) \
328 static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, ##__VA_ARGS__> \
329 NAME##_registrator_impl() { \
330 return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
331 } \
332 inline static auto NAME##_registrator = NAME##_registrator_impl();

◆ REGISTER_LEGACY_CF_ONLY_HOST_FUNCTION

#define REGISTER_LEGACY_CF_ONLY_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, context_free_check, ##__VA_ARGS__> \
NAME##_registrator_impl() { \
return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();

Definition at line 334 of file sys-vm.cpp.

334#define REGISTER_LEGACY_CF_ONLY_HOST_FUNCTION(NAME, ...) \
335 static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, context_free_check, ##__VA_ARGS__> \
336 NAME##_registrator_impl() { \
337 return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
338 } \
339 inline static auto NAME##_registrator = NAME##_registrator_impl();

◆ REGISTER_LEGACY_HOST_FUNCTION

#define REGISTER_LEGACY_HOST_FUNCTION ( NAME,
... )
Value:
static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, context_aware_check, ##__VA_ARGS__> \
NAME##_registrator_impl() { \
return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
} \
inline static auto NAME##_registrator = NAME##_registrator_impl();

Definition at line 320 of file sys-vm.cpp.

320#define REGISTER_LEGACY_HOST_FUNCTION(NAME, ...) \
321 static host_function_registrator<&interface::NAME, legacy_static_check_wl_args, context_aware_check, ##__VA_ARGS__> \
322 NAME##_registrator_impl() { \
323 return {BOOST_HANA_STRING("env"), BOOST_HANA_STRING(#NAME)}; \
324 } \
325 inline static auto NAME##_registrator = NAME##_registrator_impl();

Variable Documentation

◆ _func

F _func

Definition at line 43 of file sys-vm.cpp.

◆ _timer

transaction_checktime_timer& _timer

Definition at line 42 of file sys-vm.cpp.