Skip to content

Conversation

@wenyongh
Copy link
Collaborator

No description provided.

JamesMenetrey and others added 9 commits March 25, 2022 17:46
Implement Berkeley Socket API for Intel SGX
- bring Berkeley socket API in Intel SGX enclaves,
- adapt the documentation of the socket API to mention Intel SGX enclaves,
- adapt _iwasm_ in the mini-product _linux-sgx_ to support the same option as the one for _linux_,
- tested on the socket sample as provided by WAMR (the TCP client/server).
Implement socket-api `recvmsg()` and `sendmsg()` for wasm app,
add sample and update document.
Fix the potential integer overflow of const index in const space of fast interpreter,
emit i32/i64.const opcode when the const index is larger than INT32_MAX.
And add check for the function local cell num.
During debugging, the debug client may request to malloc a memory space
to evaluate the user expressions. If we malloc memory from the linear memory,
it may fail when the thread is in stop status. We preserve a buffer during
creating debug instance, and use a simple bump pointer allocator to serve lldb's
memory request.
* check fast interpreter offset overflow
Fix args_get and environ_get issues in libc-wasi and libc-uvwasi implementation.
Use snprintf to format the string and then output it,
so as to support more formats and reduce the footprint.
@wenyongh wenyongh merged commit bb53898 into dev/fast_jit Apr 12, 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