wasm-micro-runtime/core/iwasm/interpreter
Liu Jia 903a5c1f8c
improve logic of heap_type validation when ref.null (#4372)
* Follow-up to PR #4300: prevent potential overflow

PR #4300 introduced the rationale for validating heap_type.
This patch moves the validation before the computation of
type1 to prevent potential overflow.
2025-07-10 08:27:11 +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 Support extended constant expressions (#4432) 2025-07-07 13:34:02 +08:00
wasm_interp_fast.c Support extended constant expressions (#4432) 2025-07-07 13:34: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 improve logic of heap_type validation when ref.null (#4372) 2025-07-10 08:27:11 +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 Support extended constant expressions (#4432) 2025-07-07 13:34:02 +08:00
wasm_opcode.h Add select 128 (#4236) 2025-05-14 12:35:56 +08:00
wasm_runtime.c Support extended constant expressions (#4432) 2025-07-07 13:34:02 +08:00
wasm_runtime.h Shared heap enhancements for Interpreter and AOT (#4400) 2025-07-04 10:44:51 +08:00
wasm.h Support extended constant expressions (#4432) 2025-07-07 13:34:02 +08:00