wasm-micro-runtime/core/iwasm
Wenyong Huang 18d363029c
wasm loader: Fix checks for opcode ref.func and opcode else (#3340)
Fix wasm loader integrity checks for opcode ref.func and opcode else:
for opcode ref.func, the function must be an import, exported, or present in a
table elem segment or global initializer to be used as the operand to ref.func,
for opcode else, there must not be an else opcode previously.

Reported in #3336 and #3337.

And fix mini loader PUSH_MEM_OFFSET/POP_MEM_OFFSET macro
definitions due to the introducing of memory64 feature.
2024-04-22 14:44:45 +08:00
..
aot Fix windows relocation string parsing issue (#3333) 2024-04-19 16:09:03 +08:00
common Add functions to expose module import/export info (#3330) 2024-04-20 08:57:39 +08:00
compilation Enhance GC subtyping checks (#3317) 2024-04-18 12:32:01 +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 thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
include Update version number to 2.0.0 and update release notes (#3327) 2024-04-20 10:16:34 +08:00
interpreter wasm loader: Fix checks for opcode ref.func and opcode else (#3340) 2024-04-22 14:44:45 +08:00
libraries thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00