wasm-micro-runtime/core/iwasm
TianlongLiang f359b51525
Fix threads opcodes' boundary check in classic-interp and fast-interp (#3136)
Using `CHECK_BULK_MEMORY_OVERFLOW(addr + offset, n, maddr)` to do the
boundary check may encounter integer overflow in `addr + offset`, change to
use `CHECK_MEMORY_OVERFLOW(n)` instead, which converts `addr` and `offset`
to uint64 first and then add them to avoid integer overflow.
2024-02-06 11:52:30 +08:00
..
aot Always allocate linear memory using mmap (#3052) 2024-02-02 22:17:44 +08:00
common Always allocate linear memory using mmap (#3052) 2024-02-02 22:17:44 +08:00
compilation Fix read and validation of misc/simd/atomic sub opcodes (#3115) 2024-02-02 12:03:58 +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 read and validation of misc/simd/atomic sub opcodes (#3115) 2024-02-02 12:03:58 +08:00
include wasm_runtime_begin_blocking_op: A comment about usage expectation (#3056) 2024-01-19 18:31:21 +08:00
interpreter Fix threads opcodes' boundary check in classic-interp and fast-interp (#3136) 2024-02-06 11:52:30 +08:00
libraries wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080) 2024-01-25 16:29:34 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00