wasm-micro-runtime/core
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
..
app-framework Readme refactoring (#2038) 2023-03-19 08:05:57 +08:00
app-mgr Readme refactoring (#2038) 2023-03-19 08:05:57 +08:00
deps wasi-nn: Simplify cmake and headers' location (#2308) 2023-06-26 09:29:05 +08:00
iwasm Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
shared Merge pull request #2740 from bytecodealliance/dev/wasi-libc-windows 2023-11-10 16:58:31 +08:00
config.h Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
version.h Update version number and release notes (#2378) 2023-08-22 08:55:36 +08:00