Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
executor.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
sysio/chain/webassembly/sys-vm-oc/stack.hpp
>
4
5
#include <
stdint.h
>
6
#include <stddef.h>
7
#include <exception>
8
#include <setjmp.h>
9
10
#include <list>
11
#include <vector>
12
#include <cstddef>
13
14
namespace
sysio
{
namespace
chain {
15
16
class
apply_context;
17
18
namespace
eosvmoc {
19
20
class
code_cache_base;
21
class
memory
;
22
struct
code_descriptor;
23
24
class
executor
{
25
public
:
26
executor
(
const
code_cache_base
& cc);
27
~executor
();
28
29
void
execute
(
const
code_descriptor
& code,
memory
& mem,
apply_context
&
context
);
30
31
private
:
32
uint8_t
* code_mapping;
33
size_t
code_mapping_size;
34
bool
mapping_is_executable;
35
36
std::exception_ptr executors_exception_ptr;
37
sigjmp_buf executors_sigjmp_buf;
38
std::list<std::vector<std::byte>> executors_bounce_buffers;
39
std::vector<std::byte> globals_buffer;
40
execution_stack
stack;
41
};
42
43
}}}
sysio::chain::apply_context
Definition
apply_context.hpp:18
sysio::chain::eosvmoc::code_cache_base
Definition
code_cache.hpp:39
sysio::chain::eosvmoc::executor
Definition
executor.hpp:24
sysio::chain::eosvmoc::executor::execute
void execute(const code_descriptor &code, memory &mem, apply_context &context)
Definition
executor.cpp:152
sysio::chain::eosvmoc::executor::executor
executor(const code_cache_base &cc)
Definition
executor.cpp:136
sysio::chain::eosvmoc::executor::~executor
~executor()
Definition
executor.cpp:265
sysio::chain::eosvmoc::memory
Definition
memory.hpp:13
IR::ObjectKind::memory
@ memory
sysio
Definition
abi_serializer.cpp:8
stack.hpp
stdint.h
uint8_t
unsigned char uint8_t
Definition
stdint.h:124
context
Definition
yubihsm_winhttp.c:52
sysio::chain::eosvmoc::code_descriptor
Definition
sys-vm-oc.hpp:33
sysio::chain::eosvmoc::execution_stack
Definition
stack.hpp:12
libraries
chain
include
sysio
chain
webassembly
sys-vm-oc
executor.hpp
Generated by
1.12.0