Skip to content

Conversation

@wenyongh
Copy link
Owner

No description provided.

dongsheng28849455 and others added 8 commits November 24, 2022 12:48
Fix the issue that xtensa .aot size cannot be over 256K.
Enlarge the default wasm operand stack size to 64KB since the original default
size 16KB is a little small, and the operand stack overflow exception is often
thrown when running wasm apps.
Current SGX lib-rats wasm module hash is stored in a global buffer,
which may be overwritten if there are multiple wasm module loadings.
We move the module hash into the enclave module to resolve the issue.

And rename the SGX_IPFS macro/variable in Makefile and Enclave.edl to
make the code more consistent.

And refine the sgx-ra sample document.
Only support Posix platforms currently, read memory consumption info from
file "/proc/self/status".
Only create the necessary wrapper functions for LLVM JIT
Create trap for error message when wasm_instance_new fails:
- Similar to [this PR](#1526),
   but create a wasm_trap_t to output the error msg instead of adding error_buf to the API.
- Trap will need to be deleted by the caller but is not a breaking change as it is only
   created if trap is not NULL.
- Add error messages for all failure cases here, try to make them accurate but welcome
  feedback for improvements.

Signed-off-by: Andrew Chambers <[email protected]>
@wenyongh wenyongh merged commit c4bafa9 into wenyongh:main Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants