repo_full_name large_stringclasses 600
values | description large_stringclasses 583
values | html_url large_stringclasses 600
values | default_branch large_stringclasses 10
values | file_path large_stringlengths 4 198 ⌀ | content large_stringlengths 0 473k ⌀ |
|---|---|---|---|---|---|
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | README.md | # WebAssembly Micro Runtime
**A [Bytecode Alliance][BA] project**
[BA]: https://bytecodealliance.org/
**[Guide](https://wamr.gitbook.io/)**  **[Website](https://bytecodealliance.github.io/wamr.dev)**  **[Chat](https://bytecodealliance.zulipchat.com/#narrow/stream/290350-wamr)**
[Build WAMR](./d... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .devcontainer/devcontainer.json | {
"name": "WAMR-Dev",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "debian-12",
"WASI_SDK_VER": "25",
"WABT_VER": "1.0.37"
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"customizations": {
"vscode": {
"s... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .devcontainer/requirements.txt | black
nose
pycparser
pylint
requests
|
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/ISSUE_TEMPLATE/bug_report.md | ---
name: Bug report
about: Create a report to help us improve
title: "Add a placeholder for issue title. ex: [BUG]"
labels: bug
assignees: ""
---
**Is it a security vulnerability?**
If it results in a crash or hang, please refer to [a quick checklist](../../doc/security_need_to_know.md#is-this-bug-considered-a-securi... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/ISSUE_TEMPLATE/config.yml | blank_issues_enabled: true
|
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/ISSUE_TEMPLATE/feature_request.md | ---
name: Feature request
about: Suggest an idea for this project
title: 'Add a placeholder for issue title. ex: [RFC]'
labels: help wanted
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/actions/install-linux-sgx/action.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Always follow https://download.01.org/intel-sgx/latest/linux-latest/docs/
name: "Install Intel SGX SDK"
description: "Installs the Intel SGX SDK and necessary libraries for Ubuntu."
author: "Intel... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/actions/install-wasi-sdk-wabt/action.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Get URLs from:
# - https://github.com/WebAssembly/wasi-sdk/releases
# - https://github.com/WebAssembly/wabt/releases
# Install WASI-SDK and WABT at /opt
# /opt is the assumed location widely u... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/codeql/codeql_config.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
paths:
- .github
- core/iwasm
- core/shared/platform/common/
- core/shared/platform/include/
- core/shared/platform/linux/
- product-mini/platforms/common/
- product-mini/platforms/linux... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/dependabot.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
interval: "w... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/scripts/codeql_fail_on_error.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import json
import sys
import os
import requests
def fetch_dismissed_alerts(repo_name, github_token):
headers = {
"Authorization": f"token {github_token}",
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/scripts/extract_from_release_notes.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
"""
Extract the latest release notes content from RELEASE_NOTES.md
"""
import argparse
import os
import sys
import traceback
def latest_content(release_notes_path):
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/scripts/fetch_and_compare_version.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import re
import shlex
import subprocess
import sys
def fetch_version_from_code():
"""
search the semantic version definition in core/version.h
"""
major,... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/scripts/reuse_latest_release_binaries.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import argparse
import json
import os
import shlex
import subprocess
import sys
from urllib.error import HTTPError, URLError
import urllib.request
def get_last_commit(tar... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_docker_images.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Create and publish Docker images
on:
workflow_call:
inputs:
upload_url:
description: upload binary assets to the URL of release
type: string
required: true
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_iwasm_release.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build iwasm release
on:
workflow_call:
inputs:
arch:
description: arch of the release
type: string
required: false
default: x86_64
cwd:
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_llvm_libraries.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Reusable workflow-build_llvm_libraries
on:
workflow_call:
inputs:
os:
required: true
type: string
arch:
required: true
type: string
conta... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_wamr_lldb.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build wamr lldb
on:
workflow_call:
inputs:
arch:
description: arch of the release
type: string
required: false
default: x86_64
runner:
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_wamr_sdk.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build wamr-sdk
on:
workflow_call:
inputs:
arch:
description: arch of the release
type: string
required: false
default: x86_64
config_file:
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_wamr_vscode_ext.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build wamr-ide vscode extension
on:
workflow_call:
inputs:
upload_url:
description: upload binary assets to the URL of release
type: string
required: true
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_wamr_wasi_extensions.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build wamr_wasi_extensions release
on:
workflow_call:
inputs:
upload_url:
description: upload binary assets to the URL of release
type: string
required: fal... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/build_wamrc.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: build wamrc
on:
workflow_call:
inputs:
arch:
description: arch of the release
type: string
required: false
default: x86_64
llvm_cache_key:
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/check_version_h.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: confirm version.h stay in sync
on:
workflow_call:
permissions:
contents: read
jobs:
confirm_version:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/codeql.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: "CodeQL"
on:
# run on every push to the feature-development branch
# the main branch is covered by below cron plan
push:
branches:
- dev/**
# midnight UTC on the latest commi... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/coding_guidelines.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Coding Guidelines
on:
# will be triggered on PR events
pull_request:
# allow to be triggered manually
workflow_dispatch:
# Cancel any in-flight jobs for the same PR/branch so there's o... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_android_ubuntu.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on android, ubuntu-22.04
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/build_llvm_libra... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_macos.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on macos
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/build_llvm_libraries.yml"
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_nuttx.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on nuttx
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/compilation_on_nuttx.yml"
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_sgx.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on SGX
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/build_llvm_libraries.yml"
- ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_windows.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on windows-2022
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/compilation_on_windows.ym... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/compilation_on_zephyr.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: compilation on zephyr
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/compilation_on_zephyr.yml"
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/create_tag.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: create a tag
on:
workflow_call:
outputs:
minor_version:
description: "the new version is a minor version or a major version"
value: ${{ jobs.create_tag.outputs.minor... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/hadolint_dockerfiles.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: hadolint dockerfiles
on:
# will be triggered on PR events
pull_request:
types:
- opened
- synchronize
paths:
- "**/Dockerfile*"
- ".github/workflows/hadolin... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/nightly_run.yml | # Copyright (C) 2023 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: nightly_run
on:
pull_request:
types:
- opened
- synchronize
# running nightly pipeline if you're changing it
# stress tests are run only in nightly at the moment, so ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/release_process.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: the binary release processes
on:
workflow_dispatch:
inputs:
require_confirmation:
description: "If the process requires a confirmation"
type: boolean
requir... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/reuse_latest_release_binaries.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: reuse binaries of the latest release if no more modification on the_path since last_commit
on:
workflow_call:
inputs:
binary_name_stem:
type: string
required: true
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/spec_test_on_nuttx.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: spec test on nuttx
on:
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/spec_test_on_nuttx.yml"
- "core/**"
- "!core/deps/**"
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/supply_chain.yml | # This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.
# Check current WASM Micro Runtime results here: https://securityscorecards.dev/viewer/?uri=github.com/bytecodealliance/wasm-mi... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | .github/workflows/wamr_wasi_extensions.yml | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: wamr_wasi_extensions
on:
pull_request:
types:
- opened
- synchronize
paths:
- ".github/workflows/wamr_wasi_extensions.yml"
- "wamr_wasi_extensios/**"
- ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | ADOPTERS.md | # WAMR adopters
_If you are using WAMR in production/pre-production at your organization, please add your company name to this list.
The list is in alphabetical order._
| Organization | Contact | Status ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | ATTRIBUTIONS.md | WebAssembly Micro Runtime Attributions
======================================
WAMR project reused some components from other open source project:
- **cJson**: in the repository [wamr-app-framework](https://github.com/bytecodealliance/wamr-app-framework/), used in the host_tool for remotely managing wasm applications
-... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | CMakeLists.txt | # Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
cmake_minimum_required (VERSION 3.14)
option(BUILD_SHARED_LIBS "Build using shared libraries" OFF)
if(ESP_PLATFORM)
include (${COMPONENT_DIR}/build-scripts/esp-idf/wamr/CMakeLists.txt)
return()... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | CODE_OF_CONDUCT.md | # Contributor Covenant Code of Conduct
*Note*: this Code of Conduct pertains to individuals' behavior. Please also see the [Organizational Code of Conduct][OCoC].
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our pro... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | CONTRIBUTING.md | Contributing to WAMR
=====================
As an open-source project, we welcome and encourage the community to submit patches directly to the project. In our collaborative open source environment, standards and methods for submitting changes help reduce the chaos that can result from an active development community.
W... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | ORG_CODE_OF_CONDUCT.md | # Bytecode Alliance Organizational Code of Conduct (OCoC)
*Note*: this Code of Conduct pertains to organizations' behavior. Please also see the [Individual Code of Conduct](CODE_OF_CONDUCT.md).
## Preamble
The Bytecode Alliance (BA) welcomes involvement from organizations,
including commercial organizations. This d... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | RELEASE_NOTES.md | ## WAMR-2.4.3
### Breaking Changes
### New Features
### Bug Fixes
- libc-wasi: add missing pointer validations to socket functions (#4611) (#4665)
### Enhancements
### Others
---
## WAMR-2.4.2
### Breaking Changes
### New Features
### Bug Fixes
- CVE-2025-58749. Fix a potential hang issue in LLVMJIT mode
#... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | SECURITY.md | # Security Policy
Please refer to the [Bytecode Alliance security policy](https://bytecodealliance.org/security) for details on how to report security issues in WebAssembly Micro Runtime, our disclosure policy, and how to receive notifications about security issues.
|
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | SUMMARY.md | # Summary: structure of chapters and subchapters of the book
* [WAMR Document Home Page](gitbook/home_page.md)
## Basics
* [Introduction](gitbook/basics/introduction/README.md)
* [WebAssembly](gitbook/basics/introduction/webassembly.md)
* [WAMR Project](gitbook/basics/introduction/wamr_project.md)
* [Security ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | TSC_Charter.md | # Project Technical Steering Committee (PTSC) Charter
## Section 1. Guiding Principle
The WebAssembly Micro Runtime (WAMR) project is part of the
Bytecode Alliance (BA) which operates transparently, openly,
collaboratively, and ethically. Project proposals, timelines, and status
must not merely be open, but also easi... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | build-scripts/build_llvm.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import argparse
import os
import pathlib
import requests
import shlex
import shutil
import subprocess
import sysconfig
import sys
def clone_llvm(dst_dir, llvm_repo, llvm_... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | build-scripts/esp-idf/README.md | # wasm-micro-runtime as ESP-IDF component
You can build an ESP-IDF project with wasm-micro-runtime as a component:
- Make sure you have the ESP-IDF properly installed and setup
- In particular have the following paths set:
- `WAMR_PATH` to point to your wasm-micro-runtime repository
- `IDF_PATH` to point to your ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | build-scripts/esp-idf/wamr/CMakeLists.txt | # Copyright (C) 2021 Intel Corporation and others. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Set WAMR's build options
if (NOT CMAKE_BUILD_EARLY_EXPANSION)
if (CONFIG_IDF_TARGET_ARCH_RISCV)
if (CONFIG_IDF_TARGET_ESP32P4)
set (WAMR_BUILD_TARGET "RISCV32_ILP32F")
e... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | build-scripts/requirements.txt | requests==2.33.1 |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | ci/coding_guidelines_check.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import argparse
from pathlib import Path
import re
import shlex
import shutil
import subprocess
import sys
import unittest
CLANG_FORMAT_CMD = "clang-format-14"
GIT_CLANG_FO... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | ci/validate_lldb.py | #!/usr/bin/env python3
#
# Copyright (C) 2023 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import argparse
import time
from pathlib import Path
import subprocess, shlex
SCRIPT_DIR = Path(__file__).parent.resolve()
REPO_ROOT_DIR = SCRIPT_DIR.parent
SAMPLE_CODE_FI... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/deps/README.md | |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/README.md | # vmcore architecture
- [WAMR memory model overview](https://bytecodealliance.github.io/wamr.dev/blog/the-wamr-memory-model/)
## Wasm function
- [Wasm function architecture](./doc/wasm_function.MD)
## Exports
- [Wasm export architecture](./doc/wasm_exports.MD)
## globals
- [Wasm globals architecture](./doc/wasm_glob... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/aot_intrinsic.c | /*
* Copyright (C) 2021 XiaoMi Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_intrinsic.h"
float32
aot_intrinsic_fadd_f32(float32 a, float32 b)
{
return a + b;
}
float64
aot_intrinsic_fadd_f64(float64 a, float64 b)
{
return a + b;
}
float32
ao... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/aot_loader.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_runtime.h"
#include "aot_reloc.h"
#include "bh_platform.h"
#include "../common/wasm_runtime_common.h"
#include "../common/wasm_native.h"
#include "../common/wasm_loader_common.h... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/aot_perf_map.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_perf_map.h"
#include "bh_log.h"
#include "bh_platform.h"
struct func_info {
uint32 idx;
void *ptr;
};
static uint32
get_func_size(const AOTModule *module, struct func_... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/aot_runtime.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_runtime.h"
#include "../compilation/aot_stack_frame.h"
#include "bh_log.h"
#include "mem_alloc.h"
#include "../common/wasm_runtime_common.h"
#include "../common/wasm_memory.h"
#... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/aot_validator.c | /*
* Copyright (C) 2025 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_validator.h"
static void
set_error_buf(char *error_buf, uint32 error_buf_size, const char *string)
{
if (error_buf != NULL) {
snprintf(error_buf, error_buf_size,
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_aarch64.c | /*
* Copyright (C) 2020 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_AARCH64_MOVW_UABS_G0 263
#define R_AARCH64_MOVW_UABS_G0_NC 264
#define R_AARCH64_MOVW_UABS_G1 265
#define R_AARCH64_MOVW_UABS_G1_NC 266
#define R_AARCH64_MOV... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_arc.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_ARC_S21H_PCREL 14
#define R_ARC_S21W_PCREL 15
#define R_ARC_S25H_PCREL 16
#define R_ARC_S25W_PCREL 17
#define R_ARC_32 4
#define R_ARC_32_ME 27
/* clang-for... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_arm.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_ARM_CALL 28 /* PC relative 24 bit (BL, BLX). */
#define R_ARM_JMP24 29 /* PC relative 24 bit (B/BL<cond>). */
#define R_ARM_ABS32 2 /* Direct 32 bit */
#... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_dummy.c | /*
* Copyright (C) 2020 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
SymbolMap *
get_target_symbol_map(uint32 *sym_num)
{
abort();
}
uint32
get_plt_table_size(void)
{
abort();
}
void
init_plt_table(uint8 *plt)
{
abort();
}... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_mips.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_MIPS_32 2 /* Direct 32 bit */
#define R_MIPS_26 4 /* Direct 26 bit shifted */
/* clang-format off */
static SymbolMap target_sym_map[] = {
REG_COMMON_SY... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_riscv.c | /*
* Copyright (C) 2021 XiaoMi Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_RISCV_32 1
#define R_RISCV_64 2
#define R_RISCV_CALL 18
#define R_RISCV_CALL_PLT 19
#define R_RISCV_PCREL_HI20 23
#define R_RISCV_PCREL_LO12_I 24
#define R_... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_thumb.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_ARM_ABS32 2 /* Direct 32 bit */
#define R_ARM_THM_CALL 10 /* PC relative (Thumb BL and ARMv5 Thumb BLX). */
#define R_ARM_THM_JMP24 30 /* B.W */
#defin... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_x86_32.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
/* clang-format off */
#if !defined(BH_PLATFORM_WINDOWS)
#define R_386_32 1 /* Direct 32 bit */
#define R_386_PC32 2 /* PC relative 32 bit */
#define R_386_PLT32 ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_x86_64.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#if !defined(BH_PLATFORM_WINDOWS)
#define R_X86_64_64 1 /* Direct 64 bit */
#define R_X86_64_PC32 2 /* PC relative 32 bit signed */
#define R_X8... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/arch/aot_reloc_xtensa.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_reloc.h"
#define R_XTENSA_32 1 /* Direct 32 bit */
#define R_XTENSA_SLOT0_OP 20 /* PC relative */
/* clang-format off */
/* for soft-float */
void __floatsidf(void);
vo... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/debug/elf_parser.c | /*
* Copyright (C) 2021 Ant Group. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include <stdio.h>
#include <assert.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <stdbool.h>
#include "elf.h"
#include "aot_runtime.h"
#include "bh_log... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/aot/debug/jit_debug.c | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/arch/fneh.txt | #if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
|
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/arch/invokeNative_general.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "../wasm_runtime_common.h"
#include "../wasm_exec_env.h"
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-non-prototype"
#endif
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/gc/gc_common.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "../wasm_runtime_common.h"
#include "gc_export.h"
#if WASM_ENABLE_INTERP != 0
#include "../interpreter/wasm_runtime.h"
#endif
#if WASM_ENABLE_AOT != 0
#include "../aot/aot_runtime.h... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/gc/gc_object.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "gc_object.h"
#include "mem_alloc.h"
#include "../wasm_runtime_common.h"
#if WASM_ENABLE_INTERP != 0
#include "../interpreter/wasm_runtime.h"
#endif
#if WASM_ENABLE_AOT != 0
#include... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/gc/gc_type.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "gc_type.h"
void
wasm_dump_value_type(uint8 type, const WASMRefType *ref_type)
{
switch (type) {
case VALUE_TYPE_I32:
os_printf("i32");
break;
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/gc/stringref/stringref_stub.c | /*
* Copyright (C) 2023 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
/* This file is the stub for stringref implementation, only used for wamrc
* compiler. The runtime embedder SHOULD NOT use this file */
#include "string_object.h"
/******************* gc f... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_application.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "bh_platform.h"
#if WASM_ENABLE_INTERP != 0
#include "../interpreter/wasm_runtime.h"
#endif
#if WASM_ENABLE_AOT != 0
#include "../aot/aot_runtime.h"
#endif
#if WASM_ENABLE_THREAD_MG... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_blocking_op.c | /*
* Copyright (C) 2023 Midokura Japan KK. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_runtime_common.h"
#include "bh_platform.h"
#include "bh_common.h"
#include "bh_assert.h"
#if WASM_ENABLE_THREAD_MGR != 0 && defined(OS_ENABLE_WAKEUP_BLOCKING_OP)
#define LO... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_c_api.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "bh_log.h"
#include "wasm_c_api_internal.h"
#include "bh_assert.h"
#include "wasm_export.h"
#include "wasm_memory.h"
#if WASM_ENABLE_INTERP != 0
#include "wasm_runtime.h"
#endif
#i... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_exec_env.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_exec_env.h"
#include "wasm_runtime_common.h"
#if WASM_ENABLE_GC != 0
#include "mem_alloc.h"
#endif
#if WASM_ENABLE_INTERP != 0
#include "../interpreter/wasm_runtime.h"
#endif
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_loader_common.c | /*
* Copyright (C) 2024 Amazon Inc. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_loader_common.h"
#include "bh_leb128.h"
#include "bh_log.h"
#if WASM_ENABLE_GC != 0
#include "../common/gc/gc_type.h"
#endif
void
wasm_loader_set_error_buf(char *error_buf, uint32 er... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_memory.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_runtime_common.h"
#include "../interpreter/wasm_runtime.h"
#include "../aot/aot_runtime.h"
#include "mem_alloc.h"
#include "wasm_memory.h"
#if WASM_ENABLE_SHARED_MEMORY != 0
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_native.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_native.h"
#include "wasm_runtime_common.h"
#include "bh_log.h"
#if WASM_ENABLE_INTERP != 0
#include "../interpreter/wasm_runtime.h"
#endif
#if WASM_ENABLE_AOT != 0
#include ".... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/common/wasm_shared_memory.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "bh_log.h"
#include "wasm_shared_memory.h"
#if WASM_ENABLE_THREAD_MGR != 0
#include "../libraries/thread-mgr/thread_manager.h"
#endif
#if WASM_ENABLE_AOT != 0
#include "../aot/aot_r... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot.h"
static char aot_error[128];
char *
aot_get_last_error(void)
{
return aot_error[0] == '\0' ? "" : aot_error;
}
void
aot_set_last_error_v(const char *format, ...)
{
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_compiler.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_compiler.h"
#include "aot_emit_compare.h"
#include "aot_emit_conversion.h"
#include "aot_emit_memory.h"
#include "aot_emit_variable.h"
#include "aot_emit_const.h"
#include "aot_... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_aot_file.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_aot_file.h"
#include "../aot/aot_runtime.h"
#define PUT_U64_TO_ADDR(addr, value) \
do { \
union { ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_compare.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_compare.h"
#include "../aot/aot_intrinsic.h"
static bool
int_cond_to_llvm_op(IntCond cond, LLVMIntPredicate *op)
{
if (cond < INT_EQZ || cond > INT_GE_U)
retur... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_const.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_const.h"
#include "../aot/aot_intrinsic.h"
bool
aot_compile_op_i32_const(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
int32 i32_const)
{
... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_control.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_control.h"
#include "aot_compiler.h"
#include "aot_emit_exception.h"
#include "aot_stack_frame_comp.h"
#if WASM_ENABLE_GC != 0
#include "aot_emit_gc.h"
#endif
#include "../... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_conversion.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_conversion.h"
#include "aot_emit_exception.h"
#include "aot_emit_numberic.h"
#include "../aot/aot_intrinsic.h"
#include "../aot/aot_runtime.h"
static LLVMValueRef
call_fcm... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_exception.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_exception.h"
#include "aot_compiler.h"
#include "../interpreter/wasm_runtime.h"
#include "../aot/aot_runtime.h"
bool
aot_emit_exception(AOTCompContext *comp_ctx, AOTFuncCo... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_function.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_function.h"
#include "aot_emit_exception.h"
#include "aot_emit_control.h"
#include "aot_emit_table.h"
#include "aot_stack_frame_comp.h"
#include "../aot/aot_runtime.h"
#if ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_gc.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_gc.h"
#include "aot_compiler.h"
#include "aot_emit_exception.h"
#if WASM_ENABLE_GC != 0
#define BUILD_ISNULL(ptr, res, name) \
do { ... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_memory.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_memory.h"
#include "aot_compiler.h"
#include "aot_emit_exception.h"
#include "../aot/aot_runtime.h"
#include "aot_intrinsic.h"
#include "aot_emit_control.h"
#define BUILD_... |
bytecodealliance/wasm-micro-runtime | WebAssembly Micro Runtime (WAMR) | https://github.com/bytecodealliance/wasm-micro-runtime | main | core/iwasm/compilation/aot_emit_numberic.c | /*
* Copyright (C) 2020 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "aot_emit_numberic.h"
#include "aot_emit_exception.h"
#include "aot_emit_control.h"
#include "../aot/aot_runtime.h"
#include "../aot/aot_intrinsic.h"
#include <stdarg.h>
#define LL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.