-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Labels
bugSomething isn't workingSomething isn't workingfuzz-different-behaviorSomeone runs fuzzing with randomly generated wasm. The behavior is not the same as other runtimes.Someone runs fuzzing with randomly generated wasm. The behavior is not the same as other runtimes.help wantedExtra attention is neededExtra attention is needed
Description
Summary
The test case is invalid since it contains an invalid function type, while WasmEdge fails to terminate the execution or raise an exception.
Current State
No exception
Expected State
An exception like "Invalid input WebAssembly code at offset 4711: invalid function type"
Reproduction steps
- Build with command: cmake -DCMAKE_INSTALL_PREFIX="$install_dir" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-12" -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_BUILD_AOT_RUNTIME=OFF ..
- Execute with command: wasmedge run --reactor <test_case> "to_test"
i64.extend_i32_u_5HLPPPBPSBPSSBBBBBBB_383_17181739069556932.zip
Screenshots
Any logs you want to share for showing the specific issue
No response
Components
CLI
WasmEdge Version or Commit you used
Operating system information
Ubuntu 20.04
Hardware Architecture
x86_64
Compiler flags and options
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfuzz-different-behaviorSomeone runs fuzzing with randomly generated wasm. The behavior is not the same as other runtimes.Someone runs fuzzing with randomly generated wasm. The behavior is not the same as other runtimes.help wantedExtra attention is neededExtra attention is needed
