wasm-micro-runtime/tests
teamchong 9f73f59870 test(exec_env): add reproducer for exec_env_tls dangling pointer bug
Add test case that reproduces the bug where exec_env_tls is not cleared
on early return paths in invoke_native_with_hw_bound_check.

The test triggers native stack overflow check failure, which causes
wasm_runtime_call_wasm to return early after setting exec_env_tls but
without clearing it. This leaves exec_env_tls pointing to a destroyed
exec_env, causing subsequent calls to fail with "invalid exec env".

Test confirms the fix in wasm_exec_env_destroy correctly clears
exec_env_tls when destroying the exec_env it points to.
2026-01-08 07:27:21 -05:00
..
benchmarks Modify AOT static PGO to conform to llvm-18 and add a CI job to test static PGO on the coremark benchmark (#4345) 2025-06-12 16:57:11 +08:00
fuzz/wasm-mutator-fuzz Remove local fuzzing server (#4729) 2025-11-25 21:02:10 +08:00
malformed Add malformed test cases (#3459) 2024-05-21 16:38:34 +08:00
regression/ba-issues feat: add support for checking unsupported build configurations (#4690) 2025-12-01 17:55:07 +08:00
requirement-engineering Collective fix (#4413) 2025-06-26 10:20:40 +08:00
standalone test(exec_env): add reproducer for exec_env_tls dangling pointer bug 2026-01-08 07:27:21 -05:00
unit add more unit test cases for interpreter (#4716) 2025-12-18 07:42:50 +08:00
wamr-compiler Fix AOT shift operations for indirect constants (#2627) 2023-10-11 11:22:34 +08:00
wamr-test-suites fix: enhance test case execution handling in test_wamr.sh (#4712) 2025-12-01 17:10:52 +08:00