File EnclaveWasmModule.cpp

namespace wasm

SYSCALL NUMBERING

Have a look in the sysroot at include/bits/syscall.h to determine the system call numbering.

Functions

std::shared_ptr<wasm::EnclaveWasmModule> getExecutingEnclaveWasmModule(wasm_exec_env_t execEnv)

Variables

std::unordered_map<uint32_t, std::shared_ptr<wasm::EnclaveWasmModule>> moduleMap
std::mutex moduleMapMutex
static uint8_t wamrHeapBuffer[FAASM_SGX_WAMR_HEAP_SIZE]