wasm-micro-runtime/tests/unit/shared-utils
liang.he@intel.com d3a2cdd8f7 Use execve() to replace system() and rename
- 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.
2025-04-29 05:31:44 +00:00
..
bh_assert_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
bh_common_test.cc Use execve() to replace system() and rename 2025-04-29 05:31:44 +00:00
bh_hashmap_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
bh_leb128_test.cc [refactoring] Extract read leb to a separate file, share the code between loader and mini loader (#3701) 2024-08-14 08:46:24 +08:00
bh_list_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
bh_log_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
bh_queue_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
bh_vector_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
CMakeLists.txt Use execve() to replace system() and rename 2025-04-29 05:31:44 +00:00
shared_utils_test.cc fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00