wasm-micro-runtime/core/shared/platform
Jämes Ménétrey 0435acdd43
SGX IPFS: Fix a segfault and support seeking beyond the end of files while using SEEK_CUR/SEEK_END (#1916)
The current implementation throws a segmentation fault when padding
files using a large range, because the writing operation overflows the
source buffer, which was a single char.

IPFS previously assumed that the offset for the seek operation was related
to the start of the file (SEEK_SET). It now correctly checks the parameter
'whence' and computes the offset for SEEK_CUR (middle of the file) and
SEEK_END (end of the file).
2023-01-30 08:24:12 +08:00
..
alios Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
android Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
common Fix warnings in the posix socket implementation (#1768) 2022-11-29 20:04:07 +08:00
darwin Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
esp-idf Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
freebsd Port WAMR to the FreeBSD platform and update the document (#1825) 2022-12-24 10:11:10 +08:00
include Fix zephyr sample build errors (#1757) 2022-11-28 11:23:51 +08:00
linux Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
linux-sgx SGX IPFS: Fix a segfault and support seeking beyond the end of files while using SEEK_CUR/SEEK_END (#1916) 2023-01-30 08:24:12 +08:00
nuttx nuttx: Mock socket APIs if NET is disabled (#1896) 2023-01-18 09:16:13 +08:00
riot Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
rt-thread Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
vxworks Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
windows Refine Windows thread waiting list operations (#1853) 2023-01-06 14:51:07 +08:00
zephyr Fix zephyr sample build errors (#1757) 2022-11-28 11:23:51 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.