PKU-ASAL / SeeWasm

A native symbolic execution engine for WebAssembly
37 stars 4 forks source link

improper simulation of "return" instruction #96

Closed harveyghq closed 1 year ago

harveyghq commented 1 year ago

Describe the bug Currently the engine ignores the return instruction and continues to analyze.

image

To Reproduce

Expected behavior same effect of return: stop analyzing any instructions after return and go back to caller

Additional context I manually craft a simple wasm to reproduce: a.tar.gz