wasm-micro-runtime/core/iwasm
liang.he 91eafa1ead
Make a workaround for EGO when fstat returns NOT_SUPPORT (#1970)
The problem was found by a `Golang + WAMR (as CGO)` wrapped by EGO
in SGX Enclave.

`fstat()` in EGO returns dummy values:
- EGO uses a `mount` configuration to define the mount points that apply
  the host file system presented to the Encalve.
- EGO has a different programming model: the entire application runs inside
  the enclave. Manual ECALLs/OCALLs by application code are neither
  required nor possible.

Add platform ego and add macro control for the return value checking of
`fd_determine_type_rights` in libc-wasi to resolve the issue.
2023-02-21 11:11:27 +08:00
..
aot Don't call start/initialize in child thread's instantiation (#1967) 2023-02-17 15:11:05 +08:00
common Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
compilation Make memory profiling show native stack usage (#1917) 2023-02-01 11:52:15 +08:00
fast-jit Enable running mode control for runtime and module instance (#1923) 2023-02-02 18:16:01 +08:00
include Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
interpreter Merge pull request #1966 from bytecodealliance/dev/wasi_threads 2023-02-17 17:42:47 +08:00
libraries Make a workaround for EGO when fstat returns NOT_SUPPORT (#1970) 2023-02-21 11:11:27 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00