wasm-micro-runtime/core/iwasm
James Ring fdda259d36
Fix linked global initialization in multimodule (#3905)
While resolving linked globals in multi-module mode, WAMR tries to copy
the linked global's initial value into the destination global in the
current module.  However, a bug in the implementation causes the copy to
be done from the InitializerExpression struct, not from its WASMValue
field.

This did not come up in WAMR's spec test runner because those are built
with WASM_ENABLE_SPEC_TEST, which means these globals are resolved as
builtins, not linked globals, which goes through a different (presumably
not faulty) path.
2024-11-13 14:52:27 +08:00
..
aot Refactor AOT loader to support compatible versions (#3891) 2024-11-01 10:16:24 +08:00
common Fix out of bounds issue in is_native_addr_in_shared_heap function (#3886) 2024-10-31 12:44:55 +08:00
compilation Fix some compile warnings and typos (#3854) 2024-10-15 16:04:58 +08:00
doc Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
fast-jit Add support for multi-memory proposal in classic interpreter (#3742) 2024-08-21 12:22:23 +08:00
include Allow to set native stack boundary to exec_env (#3862) 2024-10-18 12:49:57 +08:00
interpreter Fix linked global initialization in multimodule (#3905) 2024-11-13 14:52:27 +08:00
libraries Add Windows wamrc and iwasm build in release CI (#3857) 2024-10-17 10:01:56 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00