-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a validator for aot module #3995
Conversation
1d47fc5
to
716fcb7
Compare
Maybe it's a good idea to use a macro to control the validation AOT, making users choose based on the actual scenario. By our original design, the aot file should be from a trusted source, so should we turn off validation by default? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It's a little odd. You can't see it, but if you open it locally or with github.dev, as in github.dev, you'll notice an empty line at the end of the file. |
@no1wudi @wenyongh @xujuntwt95329 @yamt @loganek could you review the PR when you have a chance ? It's currently causing issues with the fuzzing test. Many thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few minor comments
2f20016
to
58e56c3
Compare
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <[email protected]> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <[email protected]> Author: edoardo <[email protected]> Author: eric <[email protected]> Author: Fadumina Barre <[email protected]> Author: Huang Qi <[email protected]> Author: James Ring <[email protected]> Author: Jérôme Vouillon <[email protected]> Author: kk <[email protected]> Author: [email protected] <[email protected]> Author: liang.he <[email protected]> Author: Maks Litskevich <[email protected]> Author: Marcin Kolny <[email protected]> Author: peter-tatrai <[email protected]> Author: TianlongLiang <[email protected]> Author: Tomáš Malý <[email protected]> Author: Viacheslav Palchikov <[email protected]> Author: WenLY1 <[email protected]> Author: Wenyong Huang <[email protected]> Author: Xavier Del Campo <[email protected]> Author: YAMAMOTO Takashi <[email protected]> Author: yangkun27 <[email protected]>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <[email protected]> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <[email protected]> Author: edoardo <[email protected]> Author: eric <[email protected]> Author: Fadumina Barre <[email protected]> Author: Huang Qi <[email protected]> Author: James Ring <[email protected]> Author: Jérôme Vouillon <[email protected]> Author: kk <[email protected]> Author: [email protected] <[email protected]> Author: liang.he <[email protected]> Author: Maks Litskevich <[email protected]> Author: Marcin Kolny <[email protected]> Author: peter-tatrai <[email protected]> Author: TianlongLiang <[email protected]> Author: Tomáš Malý <[email protected]> Author: Viacheslav Palchikov <[email protected]> Author: WenLY1 <[email protected]> Author: Wenyong Huang <[email protected]> Author: Xavier Del Campo <[email protected]> Author: YAMAMOTO Takashi <[email protected]> Author: yangkun27 <[email protected]>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <[email protected]> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <[email protected]> Author: edoardo <[email protected]> Author: eric <[email protected]> Author: Fadumina Barre <[email protected]> Author: Huang Qi <[email protected]> Author: James Ring <[email protected]> Author: Jérôme Vouillon <[email protected]> Author: kk <[email protected]> Author: [email protected] <[email protected]> Author: liang.he <[email protected]> Author: Maks Litskevich <[email protected]> Author: Marcin Kolny <[email protected]> Author: peter-tatrai <[email protected]> Author: TianlongLiang <[email protected]> Author: Tomáš Malý <[email protected]> Author: Viacheslav Palchikov <[email protected]> Author: WenLY1 <[email protected]> Author: Wenyong Huang <[email protected]> Author: Xavier Del Campo <[email protected]> Author: YAMAMOTO Takashi <[email protected]> Author: yangkun27 <[email protected]>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <[email protected]> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <[email protected]> Author: edoardo <[email protected]> Author: eric <[email protected]> Author: Fadumina Barre <[email protected]> Author: Huang Qi <[email protected]> Author: James Ring <[email protected]> Author: Jérôme Vouillon <[email protected]> Author: kk <[email protected]> Author: [email protected] <[email protected]> Author: liang.he <[email protected]> Author: Maks Litskevich <[email protected]> Author: Marcin Kolny <[email protected]> Author: peter-tatrai <[email protected]> Author: TianlongLiang <[email protected]> Author: Tomáš Malý <[email protected]> Author: Viacheslav Palchikov <[email protected]> Author: WenLY1 <[email protected]> Author: Wenyong Huang <[email protected]> Author: Xavier Del Campo <[email protected]> Author: YAMAMOTO Takashi <[email protected]> Author: yangkun27 <[email protected]>
Please refer to #3986 for more details.