PKU-ASAL / SeeWasm

A native symbolic execution engine for WebAssembly
40 stars 3 forks source link

improper simulation of "unreachable" instruction #97

Closed harveyghq closed 1 year ago

harveyghq commented 1 year ago

Describe the bug

similar to #96, the engine ignores the unreachable instruction and continues to analyze.

image

To Reproduce

Expected behavior

stop and discard current path when trapped in an unreachable instruction.

Additional context

Sample wasm: a.tar.gz.

Note that this file differs slightly from #96 (add an unreachable instr at L8)