wasm-micro-runtime/core/iwasm/fast-jit
liang.he 9fd3d53bc9
Reset members of jit block/value stack after destroy (#1048)
After `jit_value_stack_destory()`, the `JitValue` pointed
by `value_list_head` and `value_list_end` are freed and
still keep the value.

So, when `jit_value_stack_push()` is called, for example,
`load_block_params()` after `jit_value_stack_destroy()` in
`handle_op_else()`, `value_stack` will not be treated like
an empty one, and new `JitValue` will be appended to `value_list_end`,
which is a dangling pointer(pointer to the freed `JitValue`).
2022-03-15 20:10:48 +08:00
..
cg/x86-64 Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
fe Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
iwasm_fast_jit.cmake Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_codecache.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_codecache.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_codegen.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_codegen.h Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_compiler.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_compiler.h Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_dump.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_dump.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_frontend.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_frontend.h Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_ir.c Reset members of jit block/value stack after destroy (#1048) 2022-03-15 20:10:48 +08:00
jit_ir.def Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_ir.h Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_regalloc.c Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
jit_utils.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_utils.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00