wasm-micro-runtime/core/iwasm/libraries
zoraaver 8c27676718
Return uint32 from WASI functions (#2749)
Returning uint16 from WASI functions is technically correct. However,
the smallest integer type in WASM is int32 and since we don't guarantee
that the upper 16 bits of the result are zero'ed, it can result in
tricky bugs if the language SDK being used in the WASM app does not cast
back immediately to uint16. To prevent this, we directly return uint32
instead, so that the result is well-defined as a 32-bit number.
2023-11-13 20:07:32 +08:00
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-16 14:16:58 +08:00
lib-pthread Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
lib-rats sgx-ra: Disable the building of samples (#2507) 2023-08-28 09:42:16 +08:00
lib-socket Enable WASI tests on Windows CI (#2699) 2023-11-06 19:24:06 +08:00
lib-wasi-threads Refactor stress tests to make them runnable in reactor mode (#2614) 2023-10-04 08:10:10 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
libc-wasi Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
thread-mgr Grab cluster->lock when modifying exec_env->module_inst (#2685) 2023-11-09 18:56:02 +08:00
wasi-nn Remove module instance from hashmap in wasi_nn_destroy (#2613) 2023-10-03 08:33:11 +08:00