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. |
||
---|---|---|
.. | ||
bh_assert_test.cc | ||
bh_common_test.cc | ||
bh_hashmap_test.cc | ||
bh_leb128_test.cc | ||
bh_list_test.cc | ||
bh_log_test.cc | ||
bh_queue_test.cc | ||
bh_vector_test.cc | ||
CMakeLists.txt | ||
shared_utils_test.cc |