wasm-micro-runtime/core/iwasm
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
..
aot Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
common Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
compilation Fix AOT shift operations for indirect constants (#2627) 2023-10-11 11:22:34 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Fix fast-jit f32/f64 truncate to i32/i64 (#2671) 2023-10-27 12:20:25 +08:00
include core/iwasm: Support mapped file system access on non-libuv WASI (#2628) 2023-10-27 12:48:10 +08:00
interpreter Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
libraries Fix use getrandom on cosmopolitan libc (#2674) 2023-10-27 14:07:16 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00