wasm-micro-runtime/core/iwasm
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
..
aot Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
common Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
compilation Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
fast-jit Reset members of jit block/value stack after destroy (#1048) 2022-03-15 20:10:48 +08:00
include Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
interpreter Refine code, fix some issues and add codegen framework (#1045) 2022-03-14 15:32:32 +08:00
libraries [debugger enhance] don't block gdbserver thread while executing (#989) 2022-02-16 17:35:35 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00