This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm
liang.he 50b6474f54
Add WASI ABI compatibility check for multi-module (#913)
Refer to https://github.com/WebAssembly/WASI/blob/main/design/application-abi.md
to check the WASI ABI compatibility:
- Command (main module) may export _start function with signature "()"
- Reactor (sub module) may export _initialize function with signature "()"
- _start and _initialize can not be exported at the same time
- Reactor cannot export _start function
- Command and Reactor must export memory

And
- Rename module->is_wasi_module to module->import_wasi_api
- Refactor wasm_loader_find_export()
- Remove MULTI_MODULE related codes from mini_loader
- Update multi-module samples
- Fix a "use-after-free" issue. Since we reuse the memory instance of sub module,
   just to protect it from freeing an imported memory instance
2021-12-29 11:04:36 +08:00
..
aot Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
common Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
compilation Implement GetCurrentThreadStackLimits() for Windows 7 (#914) 2021-12-27 10:18:44 +08:00
include Refine codes and fix several issues (#882) 2021-12-10 18:13:17 +08:00
interpreter Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
libraries Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00