-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain sufficient allocated space in the vector
`wasm_runtime_call_wasm()`` is called with `argv` used to pass parameters, and the callee reuses `argv` to store the results. Therefore, `argv` must be long enough to hold the results. Typically, a vector's length changes with operations, but in our scenario, `append()` operation occurs outside of our control. If there are more results than parameters, the vector will end up with an incorrect length unless we proactively manage it. Update Dockerfile and devcontainer configuration
- Loading branch information
Showing
3 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ RUN cd /tmp \ | |
&& chmod a+x llvm.sh \ | ||
&& ./llvm.sh 15 | ||
|
||
RUN ln -sf /usr/bin/lldb-15 /usr/bin/lldb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters