Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
binaryen
common
runtime_api
wavm
intrinsics
intrinsic_functions.cpp
intrinsic_functions.hpp
intrinsic_module.cpp
intrinsic_module.hpp
intrinsic_module_instance.cpp
intrinsic_module_instance.hpp
intrinsic_resolver_impl.cpp
intrinsic_resolver_impl.hpp
compartment_wrapper.cpp
compartment_wrapper.hpp
core_api_factory_impl.cpp
core_api_factory_impl.hpp
instance_environment_factory.cpp
instance_environment_factory.hpp
intrinsic_resolver.hpp
memory_impl.cpp
memory_impl.hpp
module.cpp
module.hpp
module_cache.cpp
module_cache.hpp
module_factory_impl.cpp
module_factory_impl.hpp
module_instance.cpp
module_instance.hpp
module_params.cpp
module_params.hpp
wavm_external_memory_provider.cpp
wavm_external_memory_provider.hpp
wavm_internal_memory_provider.cpp
wavm_internal_memory_provider.hpp
core_api_factory.hpp
instance_environment.hpp
memory.hpp
memory_provider.hpp
module.hpp
module_factory.hpp
module_instance.hpp
module_repository.hpp
persistent_result.hpp
ptr_size.hpp
raw_executor.hpp
runtime_code_provider.hpp
runtime_environment_factory.hpp
runtime_properties_cache.hpp
runtime_upgrade_tracker.hpp
trie_storage_provider.hpp
types.hpp
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
intrinsic_resolver_impl.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_WAVM_IMPL_INTRINSIC_RESOLVER_IMPL_HPP
7
#define KAGOME_CORE_RUNTIME_WAVM_IMPL_INTRINSIC_RESOLVER_IMPL_HPP
8
9
#include "
runtime/wavm/intrinsic_resolver.hpp
"
10
11
#include <unordered_map>
12
13
#include <WAVM/Runtime/Intrinsics.h>
14
#include <WAVM/Runtime/Linker.h>
15
16
#include "
log/logger.hpp
"
17
18
namespace
WAVM::Runtime
{
19
struct
Compartment;
20
struct
ContextRuntimeData;
21
}
// namespace WAVM::Runtime
22
23
namespace
WAVM::Intrinsics
{
24
struct
Function;
25
}
// namespace WAVM::Intrinsics
26
27
namespace
kagome::runtime::wavm
{
28
class
CompartmentWrapper;
29
class
MemoryImpl;
30
class
IntrinsicModuleInstance;
31
32
class
IntrinsicResolverImpl
final :
public
IntrinsicResolver
{
33
public
:
34
IntrinsicResolverImpl
(
35
std::shared_ptr<IntrinsicModuleInstance> module_instance);
36
37
bool
resolve(
const
std::string &moduleName,
38
const
std::string &exportName,
39
WAVM::IR::ExternType type,
40
WAVM::Runtime::Object *&outObject)
override
;
41
42
private
:
43
std::shared_ptr<IntrinsicModuleInstance>
module_instance_
;
44
log::Logger
logger_
;
45
};
46
47
}
// namespace kagome::runtime::wavm
48
49
#endif // KAGOME_CORE_RUNTIME_WAVM_IMPL_INTRINSIC_RESOLVER_IMPL_HPP
WAVM::Runtime
Definition:
compartment_wrapper.hpp:12
kagome::runtime::wavm::IntrinsicResolverImpl::module_instance_
std::shared_ptr< IntrinsicModuleInstance > module_instance_
Definition:
intrinsic_resolver_impl.hpp:43
kagome::runtime::wavm
Definition:
compartment_wrapper.cpp:12
kagome::runtime::wavm::IntrinsicResolverImpl::logger_
log::Logger logger_
Definition:
intrinsic_resolver_impl.hpp:44
logger.hpp
WAVM::Intrinsics
Definition:
intrinsic_resolver.hpp:16
intrinsic_resolver.hpp
kagome::runtime::wavm::IntrinsicResolver
Definition:
intrinsic_resolver.hpp:28
kagome::log::Logger
std::shared_ptr< soralog::Logger > Logger
Definition:
logger.hpp:23
kagome::runtime::wavm::IntrinsicResolverImpl
Definition:
intrinsic_resolver_impl.hpp:32
core
runtime
wavm
intrinsics
intrinsic_resolver_impl.hpp
Generated by
1.8.11