lum1n0us / safe-faas-poc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps

  • Open the folder in vsocde
  • Choose "Dev Containers: Reopen in container"
  • In VsCode
    • run cmake -S . -B build
    • run cmake --build build
    • run ctest -V --test-dir build

TODOs

find . -type f -not -path "./.git/*" -not -path "./external/wasm-micro-runtime/*" -not -path "./build/*" -not -path "./README.md" | xargs grep "\<TBD\>" | sort

  • use Golang to write glue
  • write .wasm with Golang and control its exported items
  • write .wasm with Golang and passing strings
  • access .wasm in EGo
  • use mounts instead of files in ego configration
  • is there a way to call mmap() (wasm_runtime_instantiate)
  • is there a way to resolve init fd table failed?
  • test WASI interfaces or WASI from glue?
  • ./app/server/main.go: fmt.Println("TBD: talk with wamr")
  • ./app/server/main.go: fmt.Println("TBD: talk with .wasm")
  • ./app/server/main.go:// TBD: How to access .wasm in enclave
  • ./app/wasm/main.go:// TBD: resturn a string
  • ./app/wasm/main.go:// TBD: as WASI reactor
  • ./cmake/FindEGo.cmake:message(STATUS "TBD: seach ego")
  • ./cmake/FindGo.cmake:message(STATUS "TBD: seach go")
  • ./cmake/FindOpenEnclave.cmake:message(STATUS "TBD: seach OpenEnclave")
  • ./cmake/FindSGX.cmake:message(STATUS "TBD: seach SGX")
  • ./cmake/FindTinyGo.cmake:message(STATUS "TBD: seach tinygo")
  • ./cmake/FindWABT.cmake:message(STATUS "TBD: seach WABT")
  • ./cmake/FindWASISDK.cmake:message(STATUS "TBD: seach WASI SDK")
  • ./library/src/glue.c: // TBD: replace with go_faas.wasm
  • shall I dynamically generate the value of mounts.source in config.json?

About


Languages

Language:C 35.1%Language:CMake 32.8%Language:Dockerfile 19.8%Language:Go 11.9%Language:Shell 0.5%