mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-09-05 17:32:26 +00:00
Compare commits
5 Commits
8c7b9de5a4
...
e30c824119
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e30c824119 | ||
![]() |
6c3f6fd017 | ||
![]() |
42851ca821 | ||
![]() |
1a56951a6a | ||
![]() |
9cb1cc4af6 |
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
|||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3.29.10
|
||||
uses: github/codeql-action/init@v3.29.11
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
|
@ -70,7 +70,7 @@ jobs:
|
|||
- run: |
|
||||
./.github/scripts/codeql_buildscript.sh
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3.29.10
|
||||
uses: github/codeql-action/analyze@v3.29.11
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
upload: false
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif
|
||||
|
||||
- name: Upload CodeQL results to code scanning
|
||||
uses: github/codeql-action/upload-sarif@v3.29.10
|
||||
uses: github/codeql-action/upload-sarif@v3.29.11
|
||||
with:
|
||||
sarif_file: ${{ steps.step1.outputs.sarif-output }}
|
||||
category: "/language:${{matrix.language}}"
|
||||
|
|
2
.github/workflows/supply_chain.yml
vendored
2
.github/workflows/supply_chain.yml
vendored
|
@ -60,6 +60,6 @@ jobs:
|
|||
|
||||
# Upload the results to GitHub's code scanning dashboard.
|
||||
- name: "Upload to code-scanning"
|
||||
uses: github/codeql-action/upload-sarif@e96e340c1e95e91449de06aabfa9525b7b98113f
|
||||
uses: github/codeql-action/upload-sarif@5b49155c7f37b5ec074ffd26b428e6b64b1bf412
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
|
|
|
@ -1 +1 @@
|
|||
requests==2.32.4
|
||||
requests==2.32.5
|
|
@ -285,7 +285,7 @@ fd_prestats_get_entry(struct fd_prestats *pt, __wasi_fd_t fd,
|
|||
struct fd_prestat **ret) REQUIRES_SHARED(pt->lock)
|
||||
{
|
||||
// Test for file descriptor existence.
|
||||
if (fd >= pt->size)
|
||||
if ((size_t)fd >= pt->size)
|
||||
return __WASI_EBADF;
|
||||
struct fd_prestat *prestat = &pt->prestats[fd];
|
||||
if (prestat->dir == NULL)
|
||||
|
@ -301,7 +301,7 @@ static __wasi_errno_t
|
|||
fd_prestats_remove_entry(struct fd_prestats *pt, __wasi_fd_t fd)
|
||||
{
|
||||
// Test for file descriptor existence.
|
||||
if (fd >= pt->size)
|
||||
if ((size_t)fd >= pt->size)
|
||||
return __WASI_EBADF;
|
||||
struct fd_prestat *prestat = &pt->prestats[fd];
|
||||
|
||||
|
@ -356,7 +356,7 @@ fd_table_get_entry(struct fd_table *ft, __wasi_fd_t fd,
|
|||
REQUIRES_SHARED(ft->lock)
|
||||
{
|
||||
// Test for file descriptor existence.
|
||||
if (fd >= ft->size) {
|
||||
if ((size_t)fd >= ft->size) {
|
||||
return __WASI_EBADF;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
|
|||
|
||||
- **WAMR_BUILD_LIBC_UVWASI**=1/0 (Experiment), build the [WASI](https://github.com/WebAssembly/WASI) libc subset for WASM app based on [uvwasi](https://github.com/nodejs/uvwasi) implementation, default to disable if not set
|
||||
|
||||
> Note: for platform which doesn't support **WAMR_BUILD_LIBC_WASI**, e.g. Windows, developer can try using **WAMR_BUILD_LIBC_UVWASI**.
|
||||
> Note: WAMR doesn't support a safe sandbox on all platforms. For platforms that do not support **WAMR_BUILD_LIBC_WASI**, e.g. Windows, developers can try using an unsafe uvwasi-based WASI implementation by using **WAMR_BUILD_LIBC_UVWASI**.
|
||||
|
||||
### **Enable Multi-Module feature**
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user