diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index acf6f554..9aa4101e 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -1748,7 +1748,7 @@ wasm_iterate_callstack(const wasm_exec_env_t exec_env, { /* * Note for devs: please refrain from such modifications inside of - * wasm_iterate_callstack + * wasm_iterate_callstack to preserve async-signal-safety * - any allocations/freeing memory * - dereferencing any pointers other than: exec_env, exec_env->module_inst, * exec_env->module_inst->module, pointers between stack's bottom and diff --git a/core/iwasm/include/wasm_export.h b/core/iwasm/include/wasm_export.h index 68e3d509..430555ca 100644 --- a/core/iwasm/include/wasm_export.h +++ b/core/iwasm/include/wasm_export.h @@ -892,12 +892,6 @@ typedef bool (*wasm_frame_callback)(void *, wasm_frame_ptr_t); * - exec_env->module_inst * - exec_env->module_inst->module * - * Note for devs: please refrain from such modifications inside of this call - * - any allocations/freeing memory - * - dereferencing any pointers other than: exec_env, exec_env->module_inst, - * exec_env->module_inst->module, pointers between stack's bottom and - * top_boundary - * * @param exec_env the execution environment that containes frames * @param callback the callback function provided by the user * @param user_data context for callback provided by the user