wasm-micro-runtime/core/iwasm/common
Enrico Loparco 3b8ef89110
Clone data segments when specified with load args (#3463)
Follow-up on https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389, specifically: https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389#discussion_r1600872451

If we want to free the wasm binary buffer early, we need to clone the data segments into the module.
That's because, in case of [passive data segments](https://webassembly.github.io/threads/core/syntax/modules.html#syntax-data),
they can be referred during wasm execution.
2024-05-27 09:59:24 +08:00
..
arch Fix clang compile warnings (#3396) 2024-05-08 16:43:47 +08:00
gc Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_c_api.c Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
wasm_exec_env.c Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_exec_env.h thread mgr: Free aux stack only when it was allocated (#3282) 2024-04-08 09:06:49 +08:00
wasm_loader_common.c Implement Memory64 support for AOT (#3362) 2024-05-13 11:03:38 +08:00
wasm_loader_common.h Implement Memory64 support for AOT (#3362) 2024-05-13 11:03:38 +08:00
wasm_memory.c Implement Memory64 support for AOT (#3362) 2024-05-13 11:03:38 +08:00
wasm_memory.h Implement memory64 for classic interpreter (#3266) 2024-04-02 15:22:07 +08:00
wasm_native.c Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm_native.h Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
wasm_runtime_common.c Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
wasm_runtime_common.h Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
wasm_shared_memory.c Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
wasm_shared_memory.h Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_suspend_flags.h Do not inherit WASM_SUSPEND_FLAG_BLOCKING from the parent thread (#3051) 2024-01-19 09:55:01 +08:00