wasm-micro-runtime/core/iwasm/interpreter
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
..
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 Remove the dlen to optimize it. (#4193) 2025-04-17 15:21:02 +08:00
wasm_interp_fast.c Remove the dlen to optimize it. (#4193) 2025-04-17 15:21:02 +08:00
wasm_interp.h Calculate func_index instead of adding an extra field to wasm frame 2025-01-28 11:09:32 +00:00
wasm_loader.c fix: Remove unused variables in SIMD_v128_const case (#4197) 2025-04-15 09:47:18 +08:00
wasm_loader.h Enhance wasm loading with LoadArgs and support module names (#3265) 2024-04-07 15:04:35 +08:00
wasm_mini_loader.c Add import memory/table flag assert check for miniloader (#4179) 2025-04-10 12:00:23 +08:00
wasm_opcode.h Merge dev/simd for fast-interp (#4131) 2025-03-20 14:23:20 +08:00
wasm_runtime.c fix false native stack overflow detections with HW_BOUND_CHECK (#4196) 2025-04-15 11:48:48 +08:00
wasm_runtime.h address comments 2025-02-27 14:32:17 +00:00
wasm.h Support table64 extension in classic-interp and AOT running modes (#3811) 2024-10-11 21:14:56 +08:00