-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buffer overflow in wasm_loader_emit_br_info #3580
Comments
May need to re-upload the corpus. 27220c0abb57efbe2e501a90e139b1331a5f71d6.gz seems an empty one. And there is no such a file at https://github.com/yamt/toywasm-fuzzer-corpus/blob/master/corpus/27220c0abb57efbe2e501a90e139b1331a5f71d6 |
@lum1n0us I can use gunzip to unzip the .gz file and reproduce the issue. The issue is caused by |
i think our fuzz target should not enable both of fast interpreter and simd because the combination is not well supported. how do you think? |
YES. Currently, WAMR doesn't support fast-interpreter + SIMD. |
because our interpreter's SIMD support is incomplete. cf. bytecodealliance#3580
* our interpreters' SIMD support is not complete. * we want to keep SIMD enabled for this fuzz target because, llvm-jit and aot, which support SIMD, use wasm_loader.c to load and validate the input module. well, we probably should test wasm_loader.c with the configuration actually used by llvm-jit and aot. (WASM_ENABLE_JIT/WASM_ENABLE_WAMR_COMPILER) but we ignore the difference for now. * fast interpreter is not compatible with llvm-jit/aot. cf. bytecodealliance#3580 an alternative: bytecodealliance#3592
a crash file for wasm-mutator-fuzz: crash-27220c0abb57efbe2e501a90e139b1331a5f71d6.gz
(from https://github.com/yamt/toywasm-fuzzer-corpus)
The text was updated successfully, but these errors were encountered: