File EnclaveWasmModule.h
Defines
-
ONE_KB_BYTES
-
ONE_MB_BYTES
-
FAASM_SGX_WAMR_HEAP_SIZE
-
FAASM_SGX_WAMR_MODULE_ERROR_BUFFER_SIZE
-
FAASM_SGX_WAMR_INSTANCE_DEFAULT_HEAP_SIZE
-
FAASM_SGX_WAMR_INSTANCE_DEFAULT_STACK_SIZE
-
WASM_CTORS_FUNC_NAME
-
WASM_ENTRY_FUNC
-
GET_EXECUTING_MODULE_AND_CHECK(execEnv)
-
namespace wasm
SYSCALL NUMBERING
Have a look in the sysroot at include/bits/syscall.h to determine the system call numbering.
-
class EnclaveWasmModule : public WAMRModuleMixin<EnclaveWasmModule>
Public Functions
-
EnclaveWasmModule()
-
~EnclaveWasmModule()
-
bool loadWasm(void *wasmOpCodePtr, uint32_t wasmOpCodeSize)
-
bool callFunction(uint32_t argcIn, char **argvIn)
-
WASMModuleInstanceCommon *getModuleInstance()
-
uint32_t getArgc()
-
std::vector<std::string> getArgv()
-
size_t getArgvBufferSize()
Public Static Functions
-
static bool initialiseWAMRGlobally()
Private Functions
-
void prepareArgcArgv(uint32_t argcIn, char **argvIn)
-
EnclaveWasmModule()
-
class EnclaveWasmModule : public WAMRModuleMixin<EnclaveWasmModule>