wasm-micro-runtime/core/shared/mem-alloc/ems
Wenyong Huang 788cbf2a19
Refine aot call_indirect opcode translation (#492)
Re-implement aot call_indirect opcode translation: when calling non-import function, translate it by LLVM call IR to call the function in AOTed code, so as to avoid calling runtime aot_call_indirect API which is much slower. For import function, keep calling aot_call_indirect API due to the possible pointer/string argument conversion.

And add prompt info while app heap is corrupted, change emit_leb to emit_uint32 inter fast-interp to refine footprint.

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-01-05 18:05:30 +08:00
..
ems_alloc.c Add more checks to enhance app heap's security (#428) 2020-10-22 18:52:33 +08:00
ems_gc_internal.h Add more checks to enhance app heap's security (#428) 2020-10-22 18:52:33 +08:00
ems_gc.h Refine aot call_indirect opcode translation (#492) 2021-01-05 18:05:30 +08:00
ems_hmu.c Add more checks to enhance app heap's security (#428) 2020-10-22 18:52:33 +08:00
ems_kfc.c Refine aot call_indirect opcode translation (#492) 2021-01-05 18:05:30 +08:00