WebAssembly Micro Runtime (WAMR)
Go to file
Yi Liu 595dcd564f
Fix off-by-one in aot_alloc_tiny_frame overflow check (#4845)
* Fix off-by-one in aot_alloc_tiny_frame overflow check

The boundary check in aot_alloc_tiny_frame only verifies that
new_frame itself doesn't exceed top_boundary, but doesn't account
for the sizeof(AOTTinyFrame) bytes that are about to be written.
When new_frame equals top_boundary exactly, the check passes but
the subsequent write to new_frame->func_index goes past the
boundary. This matches the correct pattern used in
aot_alloc_frame (line 4086) which includes the frame size.
2026-03-03 13:48:42 +08:00
.devcontainer [devcontainer] install ocmal stuff (#4798) 2026-01-25 21:47:58 +08:00
.github build(deps): Bump github/codeql-action from 4.32.4 to 4.32.5 (#4858) 2026-03-02 14:50:38 -08:00
build-scripts fix: disable unsigned integer overflow sanitization (#4785) 2026-01-22 05:40:52 -08:00
ci ci: allow .clang-tidy and fix exception type in guidelines check (#4818) 2026-02-03 07:08:38 +08:00
core Fix off-by-one in aot_alloc_tiny_frame overflow check (#4845) 2026-03-03 13:48:42 +08:00
doc Improve tiered support system and compilation flags introduction. (#4750) 2026-01-09 14:57:00 +08:00
gitbook Fix typo in README from WARM to WAMR (#4843) 2026-02-25 16:39:25 -08:00
language-bindings Fixed build of Go language bindings (#4825) 2026-02-06 08:56:18 +08:00
product-mini fix: Wrong compiler parameter on MSVC (#4778) 2026-01-08 09:10:07 +08:00
samples fix: Wrong compiler parameter on MSVC (#4778) 2026-01-08 09:10:07 +08:00
test-tools fix: Wrong compiler parameter on MSVC (#4778) 2026-01-08 09:10:07 +08:00
tests workaround: prevent usage of anyref in struct fields and array elements (#4819) 2026-03-03 13:05:44 +08:00
wamr-compiler fix some typo in wamrc (#4807) 2026-01-28 15:59:11 +08:00
wamr-sdk Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
wamr-wasi-extensions nn-cli: fix get_output index (#4543) 2025-08-11 15:05:44 +08:00
zephyr zephyr: add module.yml and fix riscv compile error (#763) 2021-09-24 17:43:02 +08:00
.clang-format Customize clang-format coding styles based on Mozilla template (#770) 2021-10-06 09:54:36 +08:00
.clang-tidy disable the misc-no-recursion checker (#4821) 2026-02-06 08:45:31 +08:00
.dockerignore Refactor Dockerfile and update .dockerignore for wasi-nn tests; adjust map-dir parameters in smoke test script (#4158) 2025-04-10 11:59:59 +08:00
.gitignore Ignore temporary file from aider (#3787) 2024-09-13 09:43:44 +08:00
ADOPTERS.md ADOPTERS.md: Add EVP (#4554) 2025-08-19 09:48:16 +08:00
ATTRIBUTIONS.md Fix some compile warnings and typos (#3854) 2024-10-15 16:04:58 +08:00
CMakeLists.txt fix: Wrong compiler parameter on MSVC (#4778) 2026-01-08 09:10:07 +08:00
CODE_OF_CONDUCT.md Restore some files and fix minor issues of SGX platform (#144) 2019-11-21 10:30:57 +08:00
CODEOWNERS fix: update CODEOWNERS to refine reviewer assignments (#4754) 2026-01-07 08:59:14 +08:00
CONTRIBUTING.md Adding additional text around the resr requirement for code contributions to make supplying a test mandatory, except in exceptional situations. (#4713) 2025-11-20 22:47:50 +08:00
idf_component.yml Add support for esp32s2 target to idf_component.yml (#4728) 2025-11-25 21:01:31 +08:00
LICENSE Remove unused files and update license header of some files (#138) 2019-11-11 20:38:49 -06:00
ORG_CODE_OF_CONDUCT.md Recover files deleted accidentally in last commit (#143) 2019-11-20 21:31:43 +08:00
README.md Add support for metadata.code.branch_hint section (#4460) 2025-09-12 08:42:48 +08:00
RELEASE_NOTES.md Bump version number to 2.4.3 (#4671) 2025-10-23 13:15:25 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
SECURITY.md Refer to BA security policy (#635) 2021-05-19 19:59:23 +08:00
SUMMARY.md Port gitbook document to main (#4621) 2025-10-23 16:00:04 +08:00
TSC_Charter.md Implement most missing wasm-c-api APIs (#303) (#676) 2021-07-28 21:53:37 +08:00

WebAssembly Micro Runtime

A Bytecode Alliance project

GuideWebsiteChat

Build WAMR | Build AOT Compiler | Embed WAMR | Export Native API | Build Wasm Apps | Samples

WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime with small footprint, high performance and highly configurable features for applications cross from embedded, IoT, edge to Trusted Execution Environment (TEE), smart contract, cloud native and so on. It includes a few parts as below:

  • VMcore: A set of runtime libraries for loading and running Wasm modules. It supports rich running modes including interpreter, Ahead-of-Time compilation(AoT) and Just-in-Time compilation (JIT). WAMR supports two JIT tiers - Fast JIT, LLVM JIT, and dynamic tier-up from Fast JIT to LLVM JIT.
  • iwasm: The executable binary built with WAMR VMcore which supports WASI and command line interface.
  • wamrc: The AOT compiler to compile Wasm file into AOT file
  • Useful components and tools for building real solutions with WAMR vmcore:
    • App-framework: A framework for supporting APIs for the Wasm applications
    • App-manager: A framework for dynamical loading the Wasm module remotely
    • WAMR-IDE: An experimental VSCode extension for developping WebAssembly applications with C/C++

Key features

Wasm post-MVP features

Supported architectures and platforms

The WAMR VMcore supports the following architectures:

  • X86-64, X86-32
  • ARM, THUMB (ARMV7 Cortex-M7 and Cortex-A15 are tested)
  • AArch64 (Cortex-A57 and Cortex-A53 are tested)
  • RISCV64, RISCV32 (RISC-V LP64 and RISC-V LP64D are tested)
  • XTENSA, MIPS, ARC

The following platforms are supported, click each link below for how to build iwasm on that platform. Refer to WAMR porting guide for how to port WAMR to a new platform.

Getting started

Performance and memory

Project Technical Steering Committee

The WAMR PTSC Charter governs the operations of the project TSC. The current TSC members:

License

WAMR uses the same license as LLVM: the Apache 2.0 license with the LLVM exception. See the LICENSE file for details. This license allows you to freely use, modify, distribute and sell your own products based on WAMR. Any contributions you make will be under the same license.

More resources