wasm-micro-runtime/core/iwasm/interpreter
Wenyong Huang 4b1a6e5017
Fix repeatedly initialize shared memory data and protect the memory's fields (#2673)
Avoid repeatedly initializing the shared memory data when creating the child
thread in lib-pthread or lib-wasi-threads.

Add shared memory lock when accessing some fields of the memory instance
if the memory instance is shared.

Init shared memory's memory_data_size/memory_data_end fields according to
the current page count but not max page count.

Add wasm_runtime_set_mem_bound_check_bytes, and refine the error message
when shared memory flag is found but the feature isn't enabled.
2023-10-30 11:07:01 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Apply no_sanitize_address for clang compiler in several places (#2663) 2023-10-25 08:05:26 +08:00
wasm_interp_fast.c Fix fast-interp "pre-compiled label offset out of range" issue (#2659) 2023-10-24 10:47:17 +08:00
wasm_interp.h Fix issue of restoring wasm operand stack (#1721) 2022-11-18 18:51:13 +08:00
wasm_loader.c Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix fast-interp "pre-compiled label offset out of range" issue (#2659) 2023-10-24 10:47:17 +08:00
wasm_opcode.h Fix data races in atomic wait/notify and interp goto table (#1971) 2023-02-22 11:43:49 +08:00
wasm_runtime.c Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
wasm_runtime.h Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08:00
wasm.h Fix some check issues on table operations (#2392) 2023-07-27 21:53:48 +08:00