ff10b86938
fix(build_llvm_libraries.yml): Correct script path for build_llvm.py
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2025-02-17 09:38:56 +00:00
45db4ba2ee
fix(unit-test): libc_builtin_test issues ( #4073 )
...
- uninitialized buffer pointers (crashes)
- match integer constant size with printf specifier
Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com >
2025-02-17 13:34:40 +08:00
964037c9b5
feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests ( #4083 )
2025-02-17 13:34:18 +08:00
48b75e0acb
Merge pull request #4087 from no1wudi/fix
...
fix(build_llvm.py): clean up whitespace and formatting in build script
2025-02-17 12:20:38 +08:00
159f5890a6
[gc] Subtyping fix ( #4075 )
2025-02-17 11:55:58 +08:00
d86bd7c0bc
fix(build_llvm.py): clean up whitespace and formatting in build script
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2025-02-15 16:25:21 +08:00
1971cac6c3
Merge pull request #4086 from no1wudi/fix
...
build_llvm.py: Allow to build xtensa target on non-xtensa host
2025-02-15 16:08:52 +08:00
46904dce0f
build_llvm.py: Allow to build xtensa target on non-xtensa host
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2025-02-14 16:15:45 +08:00
71bc3c2d15
Add a conditional check for the macro __STDC_VERSION__ ( #4080 )
2025-02-14 16:13:15 +08:00
1465c3c0eb
Unit test:type matching issue and code redundancy ( #4079 )
2025-02-14 16:13:00 +08:00
aa05360a20
build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 ( #4074 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.8 to 3.28.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.8...v3.28.9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 06:49:09 +08:00
7b724e2382
fix(aot): ensure value_cmp does not exceed br_count in branch table compilation ( #4065 )
2025-02-06 20:05:33 +08:00
e6a47d5cee
In wasm32, fix potential conversion overflow when enlarging 65536 pages ( #4064 )
...
fix enlarge 65536 pages conversion overflow in wasm32
2025-02-06 14:48:53 +08:00
c99ae24fb6
[fuzzing] execute every exported function ( #3959 )
...
- Enhance wasm mutator fuzz tests by adding export function execution and random value generation
- Use --fuel to limit loop size
- Use predefined values and enhance argument logging in execution
2025-02-06 13:15:56 +08:00
376385c608
Update memory allocation functions to use allocator user data ( #4043 )
2025-02-06 13:15:00 +08:00
171d35698a
Cleanup check_version_h workflow by removing unnecessary outputs and permissions
2025-02-05 10:31:20 +00:00
2c2829ffa5
Add workflow to confirm version.h is in sync and integrate it into Android compilation workflow
2025-02-05 10:31:20 +00:00
10f12c030f
Add version.h and update versioning documentation for embedded platforms
2025-02-05 10:31:20 +00:00
4f7c5af046
Remove deprecated version.h file and update versioning documentation
2025-02-05 10:31:20 +00:00
77e8a7d403
Refactor versioning documentation and adopt semantic versioning guidelines
2025-02-05 10:31:20 +00:00
b144e611a2
Add versioning information for libraries and executables across multiple platforms
2025-02-05 10:31:20 +00:00
e64685f43c
Add versioning support and update CMake configuration
2025-02-05 10:31:20 +00:00
67cd5043d3
initial
2025-02-05 09:48:21 +00:00
41b2c6d0d5
Show wasm proposals status during compilation and execution ( #3989 )
...
- add default build configuration options and enhance message output for WAMR features
- Add Wasm proposal status printing functionality
2025-02-05 15:28:26 +08:00
c6712b4033
add a validator for aot module ( #3995 )
...
- Add AOT module validation to ensure memory constraints are met
- Enable AOT validator in build configuration and update related source files
2025-02-05 15:21:49 +08:00
b2c7cb2375
Use wasm32-wasip1 instead of wasm32-wasi target for rust code ( #4057 )
...
Rust compiler previously deprecated, and now removed the wasm32-wasi target and replaced it with wasm32-wasip1. This
change updates all the occurrences of wasm32-wasi in the context of Rust compilation.
covers the wasi-nn/test.
2025-02-05 11:31:49 +08:00
7f1e6125a2
build(deps): Bump github/codeql-action from 3.28.5 to 3.28.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.5 to 3.28.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.5...v3.28.8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:40:20 +00:00
6f0e0e5f06
build(deps): Bump github/codeql-action from 3.28.1 to 3.28.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.1 to 3.28.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.1...v3.28.5 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 16:45:38 +00:00
5dcffaa7d2
Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI ( #4050 )
...
- update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in ci
2025-02-01 12:14:06 +08:00
b6dea221a6
Fix wasm loader check data segment count ( #4039 )
...
correctly report error when datacount section has non-zero data segment count while the data section is not present
2025-01-21 13:08:09 +08:00
e3ddbd58f7
Synchronize the GC spec tests to the commit from December 9. 2024. ( #4022 )
...
- Synchronize the GC spec tests to the commit from December 9. 2024.
- Revise the error messages to be consistent with the spec test cases.
- bypass gc spec test on the nuttx platform as a workaround
2025-01-20 09:41:47 +08:00
831e4bbfd5
Refine getting const offsets in wasm loader of fast-interp ( #4012 )
...
- Refine const offsets in loader for fast-interp
- handle const cell num overflow
- Use const array, remove list
2025-01-20 09:39:32 +08:00
ba75b8fd56
fixes for compiling on windows ( #4026 )
2025-01-17 11:06:14 +08:00
1ac62e1f22
.github: Add shared lib builds ( #3975 )
...
So far, no workflows would attempt to build the shared version of the
iwasm library (namely, vmlib).
Note that, as opposed to GC_EH_BUILD_OPTIONS and DEFAULT_BUILD_OPTIONS,
the actual default options defined by the build system are assumed, for
the sake of simplicity and avoiding repeated code.
2025-01-15 15:14:22 +08:00
9c3807e124
Refine read leb int wasm loader of fast interpreter ( #4017 )
2025-01-14 17:43:29 +08:00
946430f15e
build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 ( #4020 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.0 to 3.28.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3.28.0...v3.28.1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 17:36:50 +08:00
0d20521406
build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 ( #4021 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 15:30:28 +08:00
53da420c41
Enable shrunk memory by default and add related configurations ( #4008 )
...
- Enable shrunk memory by default and add related configurations
- Improve error messages for memory access alignment checks
- Add documentation for WAMR shrunk memory build option
- Update NuttX workflow to disable shrunk memory build option
2025-01-13 07:09:04 +08:00
902f7d2631
Add documentation regarding security issues and the status of Wasm proposals ( #3972 )
...
Add documentation regarding security issues and the status of Wasm proposals.
2025-01-09 13:13:30 +08:00
02683d2eed
Improve stack consistency by ensuring sufficient space for dummy offsets ( #4011 )
...
One more corner case: if the `frame_offset` increases and becomes equal to
the `frame_offset_boundary` after the last assignment within the for loop.
2025-01-09 13:11:25 +08:00
a653746b7b
Check whether related table has funcref elem in opcode call_indirect ( #3999 )
...
* check whether table has funcref elem in call_indirect
* check whether table has funcref elem in call_indirect when gc is enabled
2025-01-06 13:55:43 +08:00
9989b1cc1b
[fuzzing] Use software bound-check during fuzzing ( #4003 )
...
* Update CMakeLists.txt of fuzzing
- enable software bound-check
- enable wasi
- disable libc builtin and multiple modules
* Fix off-by-one error in result offset calculation for function calls
2025-01-06 11:36:11 +08:00
1807eec9d2
Add an example of how to embed WAMR in Zephyr user mode ( #3998 )
2025-01-05 15:34:17 +08:00
1958808a24
Fix table index calculations in wasm_loader and wasm_mini_loader ( #4004 )
2025-01-05 15:27:40 +08:00
099056b076
Ensure __heap_base and __data_end global indices are validated against import count ( #3996 )
2025-01-03 14:37:09 +08:00
31ff576edf
Error message improvement ( #4000 )
...
Improve error message in the scenario where the runtime was built
with ref types disabled but the module uses reference types feature.
2025-01-03 10:44:25 +08:00
7f3e0df21c
Handle a new scenario where an item is both exported and imported. ( #3984 )
2024-12-29 15:52:12 +08:00
24ecee83ff
Merge pull request #3987 from no1wudi/fix
...
Break aot_create_comp_data into small functions
2024-12-28 20:25:19 +08:00
38cf274292
Optimize memory initialization handling in AOT loader ( #3983 )
...
Save memory if the file buffer is always exist before exit.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2024-12-26 15:15:25 +08:00
9b807660d5
Break aot_create_comp_data into small functions
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2024-12-26 09:32:16 +08:00