wasm-micro-runtime/core
liang.he 996758cd4a
Remove the dlen to optimize it. (#4193)
There are two reasons for this optimization:
- The value of dlen can equal 0x1_0000_0000, even in wasm32 mode, because it is derived from (4G-0). This results in a truncation when it is passed to b_memmove_s(). Consequently, s1max becomes 0 and n is greater than s1max. To correct this, a longer type is required.
- The dlen is only used to check if there is enough space in b_memmove_s(). However, from a different angle, after confirming that both src+len and dst+len are within the memory range, we can be assured and there is no need for this explicit check.
2025-04-17 15:21:02 +08:00
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm Remove the dlen to optimize it. (#4193) 2025-04-17 15:21:02 +08:00
shared Fix few integer overflowing (#4161) 2025-04-10 12:04:56 +08:00
config.h Merge dev/simd for fast-interp (#4131) 2025-03-20 14:23:20 +08:00
version.h Add version.h and update versioning documentation for embedded platforms 2025-02-05 10:31:20 +00:00
version.h.in Add version.h and update versioning documentation for embedded platforms 2025-02-05 10:31:20 +00:00