mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-18 02:08:24 +00:00
Compare commits
2 Commits
eaea7c15ec
...
373e3c4938
Author | SHA1 | Date | |
---|---|---|---|
![]() |
373e3c4938 | ||
![]() |
0cfe3ce452 |
|
@ -3218,6 +3218,10 @@ aot_invoke_native(WASMExecEnv *exec_env, uint32 func_idx, uint32 argc,
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
bh_assert(func_idx < aot_module->import_func_count);
|
bh_assert(func_idx < aot_module->import_func_count);
|
||||||
|
|
||||||
|
#if __has_feature(memory_sanitizer)
|
||||||
|
#include <sanitizer/msan_interface.h>
|
||||||
|
__msan_unpoison(argv, (sizeof(uint32) * argc));
|
||||||
|
#endif
|
||||||
import_func = aot_module->import_funcs + func_idx;
|
import_func = aot_module->import_funcs + func_idx;
|
||||||
if (import_func->call_conv_wasm_c_api)
|
if (import_func->call_conv_wasm_c_api)
|
||||||
func_ptr =
|
func_ptr =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user