wasm-micro-runtime/core/iwasm/aot
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 Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
debug Fix AOT debug for macOS (#1494) 2022-09-16 18:54:04 +08:00
aot_intrinsic.c Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00
aot_intrinsic.h Implement i32.div_s (#1792) 2022-12-13 10:48:51 +08:00
aot_loader.c Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
aot_reloc.h Implement AOT static PGO (#2243) 2023-06-05 09:17:39 +08:00
aot_runtime.c Correct --heap-size option in messages (#2458) 2023-08-14 15:12:59 +08:00
aot_runtime.h Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
iwasm_aot.cmake Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00