File wamr/dynlink.cpp
-
namespace wasm
SYSCALL NUMBERING
Have a look in the sysroot at include/bits/syscall.h to determine the system call numbering.
Functions
-
uint32_t getFaasmDynlinkApi(NativeSymbol **nativeSymbols)
-
static int32_t dlopen_wrapper(wasm_exec_env_t exec_env, char *filename, int32_t flags)
-
static int32_t dlsym_wrapper(wasm_exec_env_t exec_env, void *handle, char *symbol)
-
static int32_t dlclose_wrapper(wasm_exec_env_t exec_env, void *handle)
Variables
-
static NativeSymbol ns[] = {REG_NATIVE_FUNC(dlopen, "($i)i"), REG_NATIVE_FUNC(dlsym, "(*$)i"), REG_NATIVE_FUNC(dlclose, "(*)i"),}
-
uint32_t getFaasmDynlinkApi(NativeSymbol **nativeSymbols)