mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-24 18:41:21 +00:00
![]() - Direct Execution: execve() directly executes a program, bypassing the shell. This avoids vulnerabilities like shell injection, which can occur with system() if user input is not properly sanitized. - Controlled Environment: With execve(), you can explicitly specify the environment variables for the new process, providing better control over the execution context. - No Shell Overhead: execve() does not invoke a shell, reducing the risk of unintended behavior caused by shell features or configurations. - Predictable Behavior: execve() only executes the specified program, whereas system() relies on the shell, which may interpret commands differently based on the shell's configuration or environment. |
||
---|---|---|
.. | ||
aot | ||
aot-stack-frame | ||
common | ||
compilation | ||
custom-section | ||
gc | ||
interpreter | ||
libc-builtin | ||
linear-memory-aot | ||
linear-memory-wasm | ||
linux-perf | ||
memory64 | ||
running-modes | ||
runtime-common | ||
shared-heap | ||
shared-utils | ||
tid-allocator | ||
wasm-c-api | ||
wasm-vm | ||
CMakeLists.txt | ||
unit_common.cmake |