wasm-micro-runtime/core/iwasm/interpreter
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
..
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 Correct Exception Handling tag type when GC is enabled (#3413) 2024-05-13 16:42:01 +08:00
wasm_interp_fast.c Fix fast interp RECOVER_BR_INFO and local set/tee (#3434) 2024-05-15 15:20:21 +08:00
wasm_interp.h Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
wasm_loader.c Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +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 Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
wasm_opcode.h Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
wasm_runtime.c Fix codeql compilation error (#3461) 2024-05-22 17:27:38 +08:00
wasm_runtime.h Implement Memory64 support for AOT (#3362) 2024-05-13 11:03:38 +08:00
wasm.h Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00