Faasm
stable

Topics

  • HTTP API
  • C++ support
  • Writing functions
  • Debugging
  • Faasm Development
  • Getting started
  • Host interface
  • Kubernetes integration
  • Troubleshooting
  • K8s Cluster set-up
  • LLVM use in Faasm
  • MPI support
  • Network isolation
  • Profiling
  • Proto-faaslets
  • Python
  • Releases
  • Building containers locally
  • Github config
  • SGX support
  • Shared files
  • State
  • Threading

Code

  • Namespace list
  • Class list
Faasm
  • »
  • File wamr/dynlink.cpp
  • Edit on GitHub

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"),}

© Copyright 2022, Simon Shillaker. Revision 819fb1d4.

Built with Sphinx using a theme provided by Read the Docs.