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/common
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
..
arch Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
iwasm_common.cmake Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +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 Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
wasm_c_api_internal.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_c_api.c Allow empty import array for wasm-c-api wasm_instance_new (#782) 2021-10-12 16:06:38 +08:00
wasm_exec_env.c [source debug] refine some code in source debugging (#856) 2021-12-06 10:25:38 +08:00
wasm_exec_env.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_memory.c Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_native.c Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_native.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
wasm_runtime_common.c Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
wasm_runtime_common.h Enhance XIP and add XIP document (#863) 2021-12-06 17:25:10 +08:00
wasm_shared_memory.c Refine codes and fix several issues (#882) 2021-12-10 18:13:17 +08:00
wasm_shared_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00