Open luxinyi0105 opened 1 year ago
You seem unsure of the expected behaviour. What does the program compiled to native is outputing?
You seem unsure of the expected behaviour. What does the program compiled to native is outputing?
While compiling C program (generated by Csmith) to native or wasm file, the output is a checksum value of "2B81D605". However, the mutation I performed was on the wat format, so I am not sure what the native file corresponding to the mutated file is.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Feel free to reopen the issue if it has been closed by mistake.
Describe the bug
Wasmer maybe output incorrect result while executing the given testcase.
Actually, the given testcase was simply mutated a wasm file, which was obtained by compiling the C program generated with Csmith using Emscripten compiler(Emcc). You can convert wasm file to wat format with wabt and find the mutation operation in line 2797(add 1 to the i32.const value). Releated files is here.
Steps to reproduce
Expected behavior
I used some other WebAssembly Runtimes, e.g. Wasmtime and WasmEdge, to execute the same testcase. Their running result is "None".(They do not output anything). So maybe wasmer's expected behavior should be the same.
Actual behavior
Additional context
...