wasm-micro-runtime/core/iwasm/common
Wenyong Huang 2cb701f7f3
Fix windows AOT hw bound check (#2475)
When AOT out of bound linear memory access or stack overflow occurs, the call stack of
AOT functions cannot be unwound currently, so from the exception handler, runtime
cannot jump back into the place that calls the AOT function.
We temporarily skip the current instruction and let AOT code continue to run and return
to caller as soon as possible. And use the zydis library the decode the current instruction
to get its size.

And remove using RtlAddFunctionTable to register the AOT functions since it doesn't work
currently.
2023-08-18 10:16:03 +08:00
..
arch Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Use pre-created exec_env for instantiation and module_malloc/free (#2047) 2023-03-23 19:19:47 +08:00
wasm_c_api_internal.h wasm-c-api: Fix init/destroy thread env multiple times issue (#1766) 2022-12-05 11:16:14 +08:00
wasm_c_api.c Introduce WASMModuleInstanceExtraCommon (#2429) 2023-08-08 09:35:29 +08:00
wasm_exec_env.c Fix multi-threading issues (#2013) 2023-03-08 10:57:22 +08:00
wasm_exec_env.h Implement suspend flags as atomic variable (#2361) 2023-07-21 08:27:09 +08:00
wasm_memory.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_memory.h Remove a few unused functions (#2409) 2023-07-31 19:14:44 +08:00
wasm_native.c Merge branch main into dev/wasi_threads 2023-02-17 08:46:12 +08:00
wasm_native.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_runtime_common.c Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
wasm_runtime_common.h Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_shared_memory.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_shared_memory.h Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
wasm_suspend_flags.h Move generic parts of wasm_suspend_flags.h to bh_atomic.h (#2393) 2023-07-27 21:37:23 +08:00